Can't figure out the delay for the servo
Here's my program
I Want it to move the servo to the right to it's most and delay for two seconds and
IRLED1 var PORTB.0
Servo var PORTB.1
TRISB=%00000001
Loop:
If IRLED1 =1 then
Pulsout Servo,110
pause 10
Pulsout Servo,150
else
Pulsout Servo,110
endif
Goto Loop
End
then come back to center.
If anyone can help me out
it would be much appreciated
Bookmarks