MBED MQTT Lighting Endpoint for NXP LPC1768+AppBoard
Dependencies: C12832_lcd EthernetInterface StatusReporter LM75B MQTT-ansond endpoint_core endpoint_mqtt mbed-rtos mbed
Diff: Definitions.h
- Revision:
- 141:0a09f2d03528
- Parent:
- 138:6159f1940b1d
- Child:
- 144:c7913812742a
--- a/Definitions.h Wed Mar 19 04:00:56 2014 +0000 +++ b/Definitions.h Wed Mar 19 04:02:17 2014 +0000 @@ -53,14 +53,16 @@ // Light Configuration #define LIGHT_NAME "light-mqtt-%d" // name of each light in this endpoint #define LIGHT_BLINK_WAIT_MS 1000 // time between blinks (ms) +#define LIGHT_NAME_INDEX 1 // start index for the ID of the light name + // Philips Light Config #define PL_ENABLE false // true - enable for endpoint light, false - disable -#define PL_LIGHT_ID PL_LIGHT_ID_BILL // Default light for Philips Light +#define PL_LIGHT_ID PL_LIGHT_ID_BILL // Default light for Philips Light // External LED Light Configuration -#define EXT_LED_ENABLE true // true - enable external LED endpoint light, false - disable -#define EXT_LED_PIN p21 // pin to use for external LED cathode +#define EXT_LED_ENABLE true // true - enable external LED endpoint light, false - disable +#define EXT_LED_PIN p21 // pin to use for external LED cathode // Endpoint GPS Coordinates/Location #define ENDPOINT_LOCATION "Las Vegas Country Club" // Where this light/endpoint lives