
Originally Posted by
Sam
Thanks for the help so far,
I can send from pc to pic and rx from pic using the code below with the settings I first posted and the pic does reply "got it" when I enter an "f".
CODE:
loop:
SerOut tx_pin,N9600,["waiting for f ",10,13]
SerIn rx_pin,N9600,["f"]
SerOut tx_pin,N9600,["got it",13,10]
GoTo loop
This works most of the time. But yes, I will change to a external osc and I don't have to use a 12F675, I have some 16F628A's and some F84's.
I really need to have an example,any example of the correct syntax to recognize and reply to a defined string of char's.
Thanks again,I'm trying to get my brain around working with serial.
Sam
Bookmarks