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.
Diff: DMXPacket.h
- Revision:
- 0:9f79770fc0a8
diff -r 000000000000 -r 9f79770fc0a8 DMXPacket.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DMXPacket.h Sat Jul 09 19:38:50 2011 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" +#define MARK 1 +#define BREAK 0 + +#define PW 4 +#define MTBF 1 +#define MTBP 1 + +void init(DigitalOut*); +void writePacket(DigitalOut*, char*, int); \ No newline at end of file