Mittlerweile kann ich die Fahrtregler einigermaßen ordentlich ansteuern.
Ich verwende im Moment dieses Programm:
Code:
$regfile = "m32def.dat"
$crystal = 16000000
$baud = 9600
Config Servos = 2 , Servo1 = Portc.2 , Servo2 = Portc.3 , Reload = 5
Config Portc.2 = Output
Config Portc.3 = Output
Enable Interrupts
Servo(1) = 192
Servo(2) = 192
Wait 2
Servo(1) = 128
Servo(2) = 128
Wait 2
Servo(1) = 255
Servo(2) = 255
Wait 2
Servo(1) = 192
Servo(2) = 192
End
192 ist Stopp, 128 volle Fahrt vorwärts, 255 volle Fahrt rückwärts.
Das sieht in der Luft so aus:
http://video.google.com/videoplay?do...62746344&hl=en
Auf Graß so:
http://video.google.com/videoplay?do...14239501&hl=en
Was ist da los???
Warum fangen die Motoren nicht gleichzeitig an zu drehen?
Kann ich dagegen irgendetwas machen?
Klar ist, dass das so nicht geht.
jon
Lesezeichen