DMX Library for STM devices

Dependents:   DISCO-F746NG_DMX-Test

Fork of DMX by Suga koubou

Revision:
14:cef8749fd54d
Parent:
13:9841af9ac344
Child:
15:4ea4a31c7609
--- 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;