Hi, does anyone has any simple C++ code to read data from serial port? I'm doing a project to receive a temperature reading for every 5 seconds from the serial port, so it shouldn't be any complicated code needed to be implemented for data queue up function.
I've already searched through google for the code but it is either too complicated, too long to understand or has problem in compilation. So kindly ask for your help here. Thanks!