thank for help..
melanie..
can i use this for transmit the signal for ultra sonic sensor
start:
high portb.0
low portb.1
pauseus 10
low portb.0
high portb.1
pauseus 10
goto start
end
NOP?
i dont know.
can u tell me
thank for help..
melanie..
can i use this for transmit the signal for ultra sonic sensor
start:
high portb.0
low portb.1
pauseus 10
low portb.0
high portb.1
pauseus 10
goto start
end
NOP?
i dont know.
can u tell me
Last edited by PoTeToJB; - 10th May 2006 at 02:28.
I don't mean to sound snippy, but do you have a PICBASIC PRO manual? You can view it on line if not. You have several options, the syntax is easy for your application.
1). write inline assembly in the middle of PicBasic for the tx routine
2). use a for loop to toggle through your tx routine X-number of times (number of cycles) using the pauseus running at > 10Mhz clock.
3). write it all in assembly and run whatever clock frequency you want.
Best Regards,
Nick
Bookmarks