I'm working on a project that reads and sometime writes to a hardware serial port. I would like to put read/writing into a separate thread that writes to maybe a queue that the main can read for processing. Looking for pointers to code that can get me over the start line. As this project progresses I want to be able to use threads for I2C or SPI reading writing. Yes, This is yet another Ublox GPS project. HW: is Teensy 4.1
Thanks
Thanks