Skip to content
The port of Art-Net protocol parser https://github.com/natcl/Artnet to openFrameworks and mbed.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mbed
src
.gitignore
LICENSE
README.md

README.md

ofxArtnetProtocol

The port of Art-Net protocol parser natcl/Artnet to openFrameworks and mbed.

Usage

ofxArtnetProtocol artnet;
uint8_t universe[512];

void setup() {
	artnet.begin("10.0.1.2");
}
void loop() {

	// do something with your universe

	artnet.send(universe);
}

API

void begin(const char* ip);
uint16_t read();
void setDmxData(uint8_t* data, uint16_t size);
void setDmxData(uint16_t index, uint8_t data);
void send(uint8_t* data, uint16_t universe = 0, uint16_t size = 512);
void printPacketHeader();
void printPacketContent();

uint8_t* getDmxFrame(void);
uint16_t getOpcode(void);
uint8_t getSequence(void);
uint16_t getUniverse(void);
uint16_t getLength(void);

Dependencies

ofxArtnet

  • ofxNetwork

Artnet for mbed

  • EthernetInterface
  • mbed-rtos

License

MIT License

You can’t perform that action at this time.