Hi waterlee2000,
This section is devoted to peoples "wishes" for PBP functionality. For help with code, try one of the other sections, like the PicBASIC or PicBASICPro forums.
Arch
Hi waterlee2000,
This section is devoted to peoples "wishes" for PBP functionality. For help with code, try one of the other sections, like the PicBASIC or PicBASICPro forums.
Arch
"Data sheets? I ain't got no data sheets. I don't need no data sheets. I don't have to read any stinking data sheets!"
Hi, Waterloo (!)
Have a look HERE : http://www.rentron.com/SerialServo.htm ( other interesting matter around ...)
and try to UNDERSTAND ...if you REALLY REALLY NEED 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 " !!!
*****************************************
Include "modedefs.bas"
si var PORTA.0
pos var byte
servo var byte
cont var byte
trisb = 0
start:
serin si,N2400,servo,pos
for cont = 0 to 50
pulsout servo,pos
pause 15
next cont
goto start
this program just can clockwise only.... then how to write the anti anti clockwise program???
what the different between trisb=0 and trisb=%00000000 ???
what the above mean serin si,N2400 ,servo,pos?? can you explain
See the lower section of this project page for info on how pulsout works to
control hobby servos http://www.rentron.com/Micro-Bot/IR_Nav.htm
that is used by IRLED... my circuit and program as below... please help me check it and correct it... if can, explain to me... thanks... urgency
that is used by IRLED... my circuit and program as below... please help me check it and correct it... if can, explain to me... thanks... urgency
Look at the bottom of the page. It explains how to drive a servo with pulsout.Originally Posted by waterlee2000
The example in your attachment should also work assuming you are sending a
servo # followed by a position from 100 to 200 as explained on the page
above when using a 4MHz osc.
Bookmarks