Core Base Classes for the Light Endpoints
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet ... more
Diff: ErrorHandler.h
- Revision:
- 112:1fb53d4729af
- Parent:
- 84:4a993dd7c38b
- Child:
- 114:bd38ad417d6a
--- a/ErrorHandler.h Mon Mar 17 16:56:41 2014 +0000 +++ b/ErrorHandler.h Tue Mar 18 21:46:48 2014 +0000 @@ -40,6 +40,7 @@ Mutex *m_close_mutex; Mutex *m_led_mutex; Mutex *m_rgb_mutex; + void *m_endpoint; public: ErrorHandler(Serial *pc,C12832_LCD *lcd); @@ -68,6 +69,9 @@ void led2Off(); void led3On(); void led3Off(); + + void setEndpoint(void *endpoint); + void *getEndpoint(); private: void setRGBLED(float H, float S, float V);