IBM IoT Client Ethernet example
Dependencies: C12832_fix EthernetInterface LM75B MMA7660 MQTT mbed-rtos mbed
Fork of IBMIoTClientEthernetExample by
Diff: LPC1768.h
- Revision:
- 14:1dd53a6d02d2
- Parent:
- 13:2234cf0a8127
--- a/LPC1768.h Fri Mar 20 16:03:58 2015 +0000 +++ b/LPC1768.h Sun Mar 22 03:12:30 2015 +0000 @@ -18,7 +18,8 @@ #if !defined(LPC1768_H) #define LPC1768_H -#if 1 // Arch Pro +#if defined(TARGET_ARCH_PRO) // Seeed Studio Arch Pro + C12832 lcd(D11, D13, D12, D7, D10); DigitalOut led2(LED2); PwmOut r(D5); @@ -33,7 +34,12 @@ DigitalIn Right(A5); AnalogIn ain1(A0); AnalogIn ain2(A1); + +#define LED2_OFF 1 +#define LED2_ON 0 + #else + C12832 lcd(p5, p7, p6, p8, p11); DigitalOut led2(LED2); PwmOut r(p23); @@ -48,11 +54,13 @@ DigitalIn Right(p16); AnalogIn ain1(p19); AnalogIn ain2(p20); -#endif #define LED2_OFF 0 #define LED2_ON 1 +#endif + + #define DEFAULT_TYPE_NAME "iotsample-mbed-lpc1768" #include "lpc_phy.h"