so the code that i write, izzit correct....i mean pulseout code for 20MHz???
so the code that i write, izzit correct....i mean pulseout code for 20MHz???
Hi, Shirleyzzzzzzzz ...
that's it !
Alain
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
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