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:
- 17:c9198630ba05
- Parent:
- 15:4ea4a31c7609
- Child:
- 18:69d65ca92bcc
diff -r 4eeb749806e5 -r c9198630ba05 DMX.h --- a/DMX.h Thu Aug 20 09:21:28 2015 +0000 +++ b/DMX.h Wed Sep 30 13:52:20 2015 +0000 @@ -76,7 +76,10 @@ */ void clear (); - volatile int is_recived, is_sent; + int isRecived (); + int isSent (); + unsigned char *getRxBuffer (); + unsigned char *getTxBuffer (); protected: @@ -91,6 +94,7 @@ volatile int addr_tx, addr_rx; unsigned char data_tx[DMX_SIZE]; unsigned char data_rx[DMX_SIZE]; + int is_recived, is_sent; private: #if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088)