The new parser with the FIFO buffer is very fast. You can send data every 20 ms, this does not affect the cycle time of the relay controller. CR LF line ending characters are desirable but not required.

Auto generated API documentation and code listings for mbed-os5-inerrupt_serial_readable_FIFO_9

Code

main.cpp [code]