Skip to content

A standalone version of openFrameworks communication/serial

License

Notifications You must be signed in to change notification settings

jferdelyi/ofSerial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ofSerialLib

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 # Linux

Capture d’écran 2022-11-07 à 22 28 10

Parameters

  • -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).

About

A standalone version of openFrameworks communication/serial

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published