An addon that simplifies the Serial Communication from openFrameworks
-
Automatic message completion
Complete messages exist between\n
's, sent for example from Arduino withSerial.println()
. If the complete message cannot be read during one "update" it will keep listening for updates for it to be completed. -
Simply use the message property to get the latest complete message
-
Listen for the
NEW_MESSAGE
event to get properly notified -
Write to the serial connection using a string
- Reading one piece of data
- Reading multiple pieces of data
- Writing one piece of data (string)
- Writing multiple pieces of data (string)
- The addon writes an
r
to the serial connection - The other party (Arduino for example) sends an update after it recieves this.