Capture RS232 string
Posted: Thu Dec 03, 2020 10:25 pm
Hello everyone!
I need your help again. I've been working on a project for a while and I can't finish it. The project is a watch that will have no buttons. I have an ESP8266 that connects to the wifi network in the house and transmits RS232 serially a phrase that looks like this: "$HHMMSS". The problem is that I can't capture exactly this string. I use UART RXINT0 interrupt on CHANNEL 1, on pin RC7 of my 18F26K20 pic. I don't think I've worked with anything like this before and I have no idea how to do this ... I would be grateful if you could help me with an example from which to understand how I can capture the whole string.
Thank you!
Puiu Bercioiu.
I need your help again. I've been working on a project for a while and I can't finish it. The project is a watch that will have no buttons. I have an ESP8266 that connects to the wifi network in the house and transmits RS232 serially a phrase that looks like this: "$HHMMSS". The problem is that I can't capture exactly this string. I use UART RXINT0 interrupt on CHANNEL 1, on pin RC7 of my 18F26K20 pic. I don't think I've worked with anything like this before and I have no idea how to do this ... I would be grateful if you could help me with an example from which to understand how I can capture the whole string.
Thank you!
Puiu Bercioiu.