Also ich habe das Programm nun Geändert, aber der Servo hört wieder mal nicht auf sich in eine Richtung zu drehen. Das Programm sieht so aus:Code:$regfile = "attiny2313.dat" $crystal = 1000000 Config Servos = 1 , Servo1 = Portd.6 , Reload = 20 Config Portd.6 = Output Enable Interrupts Do Servo(1) = 100 Waitms 50 Servo(1) = 110 Waitms 50 Servo(1) = 120 Waitms 50 Servo(1) = 130 Waitms 50 Servo(1) = 140 Waitms 50 Servo(1) = 150 Waitms 50 Loop
Lesezeichen