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
Bookmarks