thank you so much....
how to make the motor to rotates continously?...when i test this code, the servo motor just move one time only....
define osc 20
trisa.0=0 ''LEFT MOTOR''
trisa.1=0 ''RIGHT MOTOR''
LM var porta.0
RM var porta.1
Forward:
PULSOUT 0, 170 ‘ Left wheel anti-clockwise
PULSOUT 1, 130 ‘ Right wheel clockwise
PAUSE 20 ‘ Wait 20 ms
GOTO Forward ‘ Repeat
PortA Doesn't Work
http://www.picbasic.co.uk/forum/showthread.php?t=561
Presetting Configuration Fuses (PIC Defines) into your Program
http://www.picbasic.co.uk/forum/showthread.php?t=543
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks