Serial comms on picomite


Author Message
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9577
Posted: 10:17pm 03 Feb 2024      

The COM port buffers are a thing of beauty, and I use them often as a fully automatic message queue, which can receive messages in the background, and your code just has to check the buffer as part of the main loop, and act if there is anything there to process.  They are BEAUTIFUL to have.