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:
101:8747b6612e32
Parent:
92:330746c526b7
Child:
105:759dee018363
--- a/Light.h	Fri Mar 14 21:42:01 2014 +0000
+++ b/Light.h	Fri Mar 14 21:47:58 2014 +0000
@@ -45,6 +45,7 @@
         Thread            *m_blinking_thread;
         int                m_last_state;
         bool               m_is_blinking;
+        bool               m_forward;
         
     protected:
         int                m_current_state;
@@ -71,6 +72,7 @@
         void setIOCID(int id);
         int getIOCID();
         
+        void updateDirection();
         void blinkLight();
         
         void initLight();