A library for mastering a DMX chain. You'll meed a max485 or equivalent to convert the digital output to the differential RS-485 protocol.

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers DMXPacket.h Source File

DMXPacket.h

00001 #include "mbed.h"
00002 #define MARK 1
00003 #define BREAK 0
00004 
00005 #define PW 4
00006 #define MTBF 1
00007 #define MTBP 1
00008 
00009 void init(DigitalOut*);
00010 void writePacket(DigitalOut*, char*, int);