Hier ist der neue code:Code:$regfile = "attiny2313.dat" $crystal = 1000000 Config Servos = 2 , Servo1 = Portb.0 , Servo2 = Portb.1 , Reload = 10 Config Portb.0 = Output Config Portb.1 = Output Enable Interrupts Do Servo(1) = 100 Servo(2) = 100 Waitms 50 Loop
Lesezeichen