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:
0:8690adb11199
Child:
1:a885240933b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Dec 12 13:36:32 2015 +0000
@@ -0,0 +1,19 @@
+#include "mbed.h"
+#include "DMX.h"
+
+DigitalOut myled(LED1);
+
+int main() 
+{
+  //      Tx,   Rx
+  // Arduino Header
+  DMX dmx(D3, D4);  //(PC_2, PA_2)
+    
+  while(1)
+  {
+    myled = 1; // LED is ON
+    wait(0.2); // 200 ms
+    myled = 0; // LED is OFF
+    wait(1.0); // 1 sec
+  }
+}