Quote:
|
Originally Posted by ButcherMan
Serial_ports.c provides read buffering on either port. It will require you to use a parser to parse incoming data and sometimes this takes more resources than just using a simple state machine to record the incoming data and set a flag indicating that the data is available.
|
Just sit in a loop and while data is in the buffer, send the data to your state machine a byte at a time.
-Kevin