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: MBEDLight.cpp
- Revision:
- 89:0af616fdea3b
- Parent:
- 87:e9d77e9f9eae
- Child:
- 90:0fed8d3e0b81
diff -r 6a6d0b8751cb -r 0af616fdea3b MBEDLight.cpp --- 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); } }