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

Revision:
4:dd0544c80096
Parent:
3:2eb66b4d99bd
Child:
5:72039cd4c874
diff -r 2eb66b4d99bd -r dd0544c80096 DMX.h
--- a/DMX.h	Fri Sep 28 03:31:02 2012 +0000
+++ b/DMX.h	Wed Nov 21 01:44:21 2012 +0000
@@ -27,6 +27,7 @@
     DMX_MODE_MAB,
     DMX_MODE_DATA,
     DMX_MODE_ERROR,
+    DMX_MODE_STOP,
 };
 
 /** DMX512 class (sender/client)
@@ -51,7 +52,12 @@
      */
     int get (int ch);
 
-    void reset ();
+    /** Start DMX send
+     */
+    void start ();
+    /** Stop DMX send
+     */
+    void stop ();
 
     volatile int is_recived, is_sent;