← Back

ofxPacketizer

github.com/i-n-g-o/ofxPacketizer · @i-n-g-o
OF 0.10 MIDI/OSC

A class for parsing data packets using start/end conditions, with serial/Arduino examples.

0 0 Last commit 7y ago Created 10y ago

README

Packetizer



Packetizer is a class to analyze data for a start and/or end condition. If both, start- and end-condition is met the data between start and end is returned via a callback function as raw bytes.

Examples for Arduino show the use with incoming serial data:

Exampledemonstrates
simple_packetsshow basic functionality of Packetizer
simple_proto_send_receivethe use to control another remote Arduino
controls LED 13 on a remote Arduino
simple_proto_send_receive_2based on simple_proto_send_receive
shows the use of byte-pair packets
controls the brightness of LEDs on a remote Arduino

Get this addon

HTTPS
SSH