DMX512 send/recv library with STM32 slave support originally from http://mbed.org/users/okini3939/notebook/dmx512

Fork of DMX by Suga koubou

Revision:
17:c9198630ba05
Parent:
15:4ea4a31c7609
Child:
18:69d65ca92bcc
--- 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)