An initial port to the FRDM-K46Z based on the the following: https://developer.mbed.org/users/okini3939/notebook/dmx512/

Dependents:   FRDM-Dowser

Fork of DMX by Suga koubou

Need to update the UART references to the K46Z. The KE02 Sub-Family Reference Manual provides us with the required information.

The modifications are wrapped with the target for the K46: For example, defined(TARGET_KL46Z)

Revision:
4:dd0544c80096
Parent:
3:2eb66b4d99bd
Child:
5:72039cd4c874
--- 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;