DMX-Test for DMX-ST

Dependencies:   DMX-ST mbed-src

This library does'nt work as I have no DMX board for my STM-DISCO

Revision:
1:a885240933b7
Parent:
0:8690adb11199
--- a/main.cpp	Sat Dec 12 13:36:32 2015 +0000
+++ b/main.cpp	Sat Dec 12 13:58:02 2015 +0000
@@ -8,12 +8,16 @@
   //      Tx,   Rx
   // Arduino Header
   DMX dmx(D3, D4);  //(PC_2, PA_2)
-    
+  
+  dmx.start();
+
   while(1)
   {
     myled = 1; // LED is ON
     wait(0.2); // 200 ms
     myled = 0; // LED is OFF
     wait(1.0); // 1 sec
+    dmx.put(0, (char)255);
+    int i = dmx.get(0);
   }
 }