DMX512, RDM send/recv library http://mbed.org/users/okini3939/notebook/dmx512
Dependents: dmx_test ArtNodeLED SPK-DVIMXR SPK-DMXer ... more
DMX512 send/recv library
DMX512 is protocol for lighting.
調光プロトコル DMX512 を送受信するライブラリです。
see: http://mbed.org/users/okini3939/notebook/dmx512/
LPC1114 support is thanks to Stanly Chen
Diff: DMX.h
- Revision:
- 14:cef8749fd54d
- Parent:
- 13:9841af9ac344
- Child:
- 15:4ea4a31c7609
diff -r 9841af9ac344 -r cef8749fd54d DMX.h --- a/DMX.h Fri Jan 24 06:48:41 2014 +0000 +++ b/DMX.h Fri Jan 24 15:13:25 2014 +0000 @@ -12,6 +12,7 @@ #define DMX_H #include "mbed.h" +#include "RawSerial.h" #define DMX_UART_DIRECT @@ -83,11 +84,8 @@ void int_tx (); void int_rx (); -#if defined(TARGET_LPC1768) +// Serial _dmx; RawSerial _dmx; -#else - Serial _dmx; -#endif Timeout timeout01; volatile DMX_MODE mode_tx, mode_rx; volatile int addr_tx, addr_rx;