A standalone version of openFrameworks communication/serial (https://github.com/openframeworks/openFrameworks).
The library can be compiled for Windows, Linux and macOS as a static or shared library.
mkdir build cd build cmake .. -DSTATIC=ON -DDEMO=ON cmake --build . #./serial <PORT> <BAUD> ./serial cu.usbserial-0001 115200 # macOS ./serial.exe COM3 115200 # Windows ./serial ttyUSB0 115200 # LinuxParameters
- -DSTATIC=ON for static, OFF for shared.
- -DDEMO=ON to build the demo, OFF not
An Arduino source file can be found on the 'example' folder, works on EPS32 using platformio, should work on Arduino with Arduino IDE (remove #include <Arduino.h> to use it on Arduino IDE).
