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.
Capture RS232 string
Moderator: Benj
-
- Matrix Staff
- Posts: 9520
- Joined: Sat May 05, 2007 2:27 pm
- Location: Northamptonshire, UK
- Has thanked: 2585 times
- Been thanked: 3815 times
- Contact:
Re: Capture RS232 string
Hi,
If it was me, I would use a [urlhttps://www.matrixtsl.com/wiki/index.php?title= ... _(Storage)]Circular buffer[/url] component.
There is an example on on the Wiki page.
If you get stuck then post your flowchart and I will help you further.
If it was me, I would use a [urlhttps://www.matrixtsl.com/wiki/index.php?title= ... _(Storage)]Circular buffer[/url] component.
There is an example on on the Wiki page.
If you get stuck then post your flowchart and I will help you further.
Martin