Hi guys,
Currently, I have my PIC connected to my USB and I am able to "echo" characters back through a terminal window (RealTerm/FlashMagic) with a loopback jumper connected on the RX/TX pins.
However, my goal is to be able to send commands to my PIC (via terminal) and have it respond when it recognizes a certain string.
For example, in the terminal:
Except, obviously, I would have it spit me back numbers that I have stored in the PIC.
So, all-in-all, here's what I need help with:
1) Recognizing a string input from the terminal window
2) Giving an (ASCII?) output on the terminal window or just perhaps reading the data on the PIC from the USB
I appreciate any help, thanks!
Currently, I have my PIC connected to my USB and I am able to "echo" characters back through a terminal window (RealTerm/FlashMagic) with a loopback jumper connected on the RX/TX pins.
However, my goal is to be able to send commands to my PIC (via terminal) and have it respond when it recognizes a certain string.
For example, in the terminal:
Rich (BB code):
Input:
"get data"
Output:
variable 1: x
variable 2: y
So, all-in-all, here's what I need help with:
1) Recognizing a string input from the terminal window
2) Giving an (ASCII?) output on the terminal window or just perhaps reading the data on the PIC from the USB
I appreciate any help, thanks!