Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: main.cpp
- Revision:
- 130:630d05daed77
- Parent:
- 124:6e9d10b1277a
- Child:
- 131:c1ecc5fcf3c6
--- a/main.cpp Wed Mar 26 20:29:09 2014 +0000 +++ b/main.cpp Wed Mar 26 21:24:19 2014 +0000 @@ -27,12 +27,32 @@ // Mutex for the network as RTOS doesnt play well with threads... Mutex *network_mutex = NULL; - // Serial Console Support - Serial pc(USBTX, USBRX); - - // LCD Support - #include "C12832_lcd.h" - C12832_LCD lcd; + #ifdef _ENDPOINT_UBLOX_PLATFORM + // Serial Console Support + Serial pc(USBTX, USBRX); + + // LCD Support + #include "C12832.h" + C12832 lcd(D11,D13,D12,D7,D10); +#endif + +#ifdef _ENDPOINT_NXP_PLATFORM + // Serial Console Support + Serial pc(USBTX, USBRX); + + // LCD Support + #include "C12832_lcd.h" + C12832_LCD lcd; +#endif + +#ifdef _ENDPOINT_FREEDOM_PLATFORM + // Serial Console Support + Serial pc(USBTX, USBRX); + + // LCD Support + #include "C12832_lcd.h" + C12832_LCD lcd; +#endif // Instances for the Endpoint ErrorHandler *error_handler = NULL;