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:
114:bd38ad417d6a
Parent:
92:330746c526b7
Child:
192:54b758a8eaaa
--- a/MBEDLight.cpp	Tue Mar 18 21:50:19 2014 +0000
+++ b/MBEDLight.cpp	Wed Mar 19 03:30:37 2014 +0000
@@ -41,14 +41,10 @@
  }
  
  // turn ON 
- void MBEDLight::on() { this->logger()->led2On(); this->logger()->led3On(); Light::on(); this->logger()->dimRGB(1.0); }
+ void MBEDLight::on() { this->logger()->led2On(); this->logger()->led3On(); Light::on(); }
  
  // turn OFF 
- void MBEDLight::off() { this->logger()->led2Off(); this->logger()->led3Off(); Light::off(); this->logger()->dimRGB(1.0); }
+ void MBEDLight::off() { this->logger()->led2Off(); this->logger()->led3Off(); Light::off(); }
 
  // dim 
- void MBEDLight::dim(int value) { 
-    float dim_val = (float)(value/100.0);
-    this->logger()->dimRGB(dim_val);
-    Light::dim(value);
- }
\ No newline at end of file
+ void MBEDLight::dim(int value) { Light::dim(value); }
\ No newline at end of file