Core Base Classes for the Light Endpoints

Dependencies:   BufferedSerial

Dependents:   mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more

Revision:
141:26dca377597f
Parent:
140:df0ca2c95982
Child:
143:1388cb37c27e
--- a/CommonDefinitions.h	Mon Mar 31 19:41:59 2014 +0000
+++ b/CommonDefinitions.h	Mon Mar 31 20:32:24 2014 +0000
@@ -57,13 +57,13 @@
 #ifdef LIGHT_PERSONALITY
     #undef LIGHT_DEFAULT_STATE
     #undef LIGHT_BLINK_WAIT_MS
-    #define LIGHT_DEFAULT_STATE     1                               // ON by default
+    #define LIGHT_DEFAULT_STATE     "1"                             // ON by default
     #define LIGHT_BLINK_WAIT_MS     1000                            // time between blinks (ms)
 #endif
 #ifdef COPCAR_PERSONALITY
     #undef LIGHT_DEFAULT_STATE
     #undef LIGHT_BLINK_WAIT_MS
-    #define LIGHT_DEFAULT_STATE     0                               // OFF by default
+    #define LIGHT_DEFAULT_STATE     "0"                             // OFF by default
     #define LIGHT_BLINK_WAIT_MS     400                             // time between blinks (ms)
 #endif