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.
DMXPacket.h
- Committer:
- User_4574
- Date:
- 2011-07-09
- Revision:
- 1:7daf1361d960
- Parent:
- 0:9f79770fc0a8
File content as of revision 1:7daf1361d960:
#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);