Das gleiche verhalten des Servo auch hierCode:$regfile = "m8def.dat" 'Controller : ATMEGA8 (Atmel) $crystal = 7372800 '@ 7.2738 MHz $framesize = 64 $swstack = 64 $hwstack = 64 Config Servos = 1 , Servo1 = Portc.0 , Reload = 1 Config Portc = Output Enable Interrupts Config Portc.1 = Output Config Pinc.7 = Input Portc.1 = 1 Portc.7 = 0 Do Servo(1) = 5.5 Wait 3 Servo(1) = 40 Wait 3 Loop End![]()
Lesezeichen