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
Revision 2:d7677060f8eb, committed 2012-09-26
- Comitter:
- okini3939
- Date:
- Wed Sep 26 13:17:01 2012 +0000
- Parent:
- 1:f0d988e15810
- Child:
- 3:2eb66b4d99bd
- Commit message:
- fix direct
Changed in this revision
DMX.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/DMX.cpp Thu Jul 12 14:57:09 2012 +0000 +++ b/DMX.cpp Wed Sep 26 13:17:01 2012 +0000 @@ -91,7 +91,11 @@ addr_tx = 0; mode_tx = DMX_MODE_DATA; dmx.attach(this, &DMX::int_tx, Serial::TxIrq); +#ifdef DMX_UART_DIRECT + *uart_thr = 0; +#else dmx.putc(0); +#endif break; } }