A quick recipe for transferring structured data from embedded computers to host PC (or vice versa). It is similar to MAVLink.
- Upload this code into teensy 4.1 or any other arduino board.
- Check if the arduino board prints gibberish on serial monitor. Close the serial monitor.
- Set the Arduino serial port in main.cpp. Compile and run the host receiver code.
bash compile.bash && ./main.out
Credits:
Joao Alves CRC library is used in this repo!