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
Diff: DMX.h
- Revision:
- 13:197c0fea0c62
- Parent:
- 12:1f176eee2d28
--- a/DMX.h Mon Sep 23 09:15:57 2013 +0000 +++ b/DMX.h Mon Dec 02 06:49:25 2013 +0000 @@ -91,7 +91,7 @@ unsigned char data_rx[DMX_SIZE]; private: -#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) +#if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) LPC_UART_TypeDef *_uart; #elif defined(TARGET_LPC11U24) LPC_USART_Type *_uart;