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:
89:0af616fdea3b
Parent:
87:e9d77e9f9eae
Child:
90:0fed8d3e0b81
--- a/MBEDLight.cpp	Wed Mar 12 23:50:54 2014 +0000
+++ b/MBEDLight.cpp	Wed Mar 12 23:55:06 2014 +0000
@@ -37,10 +37,11 @@
  
  // Blink 
  void MBEDLight::blink() { 
-    for(int i=0;i<10;++i) {
+    for(int i=0;i<8;++i) {
         this->on();
         wait_ms(500);
         this->off();
+        wait_ms(500);
     }
 }