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:
169:5ba15f5f7f87
Parent:
167:2529c18d0eb1
Child:
192:54b758a8eaaa
--- a/Light.h	Thu Jul 17 17:08:54 2014 +0000
+++ b/Light.h	Thu Jul 17 19:50:57 2014 +0000
@@ -38,7 +38,9 @@
         
         PhilipsLight      *m_pl;
         ExternalLEDLight  *m_ext_led;
+ #ifdef APM_LIGHT_PERSONALITY
         APMDemoLight      *m_apm_light;
+ #endif
  
  #ifdef ENABLE_THREADS       
         Thread            *m_blinking_thread;
@@ -73,8 +75,10 @@
         
     private:
         PhilipsLight     *pl();  
-        ExternalLEDLight *extled(); 
+        ExternalLEDLight *extled();
+ #ifdef APM_LIGHT_PERSONALITY 
         APMDemoLight     *apmlight();  
+ #endif
         void              startBlinking();
         void              stopBlinking();
         void              manageBlinkingThread();