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:
167:2529c18d0eb1
Parent:
160:24337c83dd1d
Child:
169:5ba15f5f7f87
diff -r 8e63cd2c003a -r 2529c18d0eb1 Light.h
--- a/Light.h	Thu Jul 03 18:35:47 2014 +0000
+++ b/Light.h	Wed Jul 16 17:29:00 2014 +0000
@@ -28,6 +28,9 @@
 // External LED Light Support
 #include "CopCarLEDFlasher.h"
 
+// APMDemoLight Support
+#include "APMDemoLight.h"
+
 class Light : public Personality {
     private:
         void              *m_dimmer_action;
@@ -35,6 +38,7 @@
         
         PhilipsLight      *m_pl;
         ExternalLEDLight  *m_ext_led;
+        APMDemoLight      *m_apm_light;
  
  #ifdef ENABLE_THREADS       
         Thread            *m_blinking_thread;
@@ -69,7 +73,8 @@
         
     private:
         PhilipsLight     *pl();  
-        ExternalLEDLight *extled();   
+        ExternalLEDLight *extled(); 
+        APMDemoLight     *apmlight();  
         void              startBlinking();
         void              stopBlinking();
         void              manageBlinkingThread();