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: Light.cpp
- Revision:
- 87:e9d77e9f9eae
- Parent:
- 47:fa96ddc36f04
- Child:
- 91:8732d54328ae
--- a/Light.cpp Wed Mar 12 20:07:50 2014 +0000 +++ b/Light.cpp Wed Mar 12 23:47:30 2014 +0000 @@ -87,6 +87,9 @@ // turn OFF void Light::off() { if (PL_ENABLE && this->pl() != NULL) this->pl()->off(); } + // Blink + void Light::blink() { if (PL_ENABLE && this->pl() != NULL) this->pl()->blink(); } + // dim void Light::dim(int value) { if (PL_ENABLE && this->pl() != NULL) this->pl()->dim(value); }