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: ExternalLEDLight.h
- Revision:
- 146:8c05a119d9d4
- Parent:
- 144:e4d24c2c8f18
- Child:
- 192:54b758a8eaaa
--- a/ExternalLEDLight.h Wed Apr 02 01:08:48 2014 +0000 +++ b/ExternalLEDLight.h Wed Apr 02 01:50:02 2014 +0000 @@ -36,9 +36,9 @@ ExternalLEDLight(PwmOut *led,ErrorHandler *error_handler); virtual ~ExternalLEDLight(); - void on(); - void off(); - void dim(int dim); // range: 0 - 100 + virtual void on(); + virtual void off(); + virtual void dim(int dim); // range: 0 - 100 protected: virtual void update();