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:Question 2:Code:While char = value PortA.1 = 1 wend
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


communicating with PIC through PC is something I just wanted to try, it works, good. I really need to find out how to communicate commands through the serial port, say toggle an LED on another PIC from serial port, either sent by PC or PIC., and it's late and I am going to bed, even later in SD huh?
Nevertheless . . the hardest part is figuring out what to do, then you can work out how!


Bookmarks