Hi Everyone,
I have 2 serial related data questions.
1.How, do I make PIC Basic Pro, interpret a string sent Serially from a P/C or another PIC as a command? Using Hserin and the variable called Char I tried something like this:
Code:
While char = value
PortA.1 = 1
wend
Question 2:
I hooked my serial backpack up to my P/C.
The backpack uses the hserin protocol in and the lcdout protocol to output data to the LCD. It is equipped with a max232 to interface with the P/C. When I send data to it from the P/C it prints strings of text on screen in this order, Line 1, line 3, line 2, line 4. it completely ignores the commands $FE, $C0 and so on, rather printing them onscreen as part or the text string, so in many ways this question is related to question 1. When I send the data to it from a PIC it properly formats the screen with the normal LCDOUT commands.
Thank You,
JS