This is a fork for okini3939's great DMX library with added support for the EA LPC4088 QuickStart mbed-enabled board. I have added support and tested the 3 UARTs which are accessible on the DIP pins. This forked of okini3939's library was created in the hopes a pull request could be accepted and re-integrated into the library. Important Note: To use the special UART on "pins 41" (rx) and "pin 42" (tx) you must access them by their port names, which are P0_3 (rx) and P0_2 (tx), because the symbols p41 and p42 do not exist in the mbed world (yet).

Fork of DMX by Suga koubou

Revision:
2:d7677060f8eb
Parent:
1:f0d988e15810
Child:
3:2eb66b4d99bd
--- a/DMX.cpp	Thu Jul 12 14:57:09 2012 +0000
+++ b/DMX.cpp	Wed Sep 26 13:17:01 2012 +0000
@@ -91,7 +91,11 @@
         addr_tx = 0;
         mode_tx = DMX_MODE_DATA;
         dmx.attach(this, &DMX::int_tx, Serial::TxIrq);
+#ifdef DMX_UART_DIRECT
+        *uart_thr = 0;
+#else
         dmx.putc(0);
+#endif
         break;
     }
 }