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: APMDemoLight.cpp
- Revision:
- 181:969d4e005e44
- Parent:
- 172:ca0acfacc5c4
- Child:
- 192:54b758a8eaaa
--- a/APMDemoLight.cpp Fri Sep 12 20:36:09 2014 +0000 +++ b/APMDemoLight.cpp Fri Sep 12 20:45:28 2014 +0000 @@ -65,7 +65,7 @@ // ZeroCross configuration apm_light_zerocross.mode(PullNone); - wait_ms(LIGHT_BLINK_WAIT_MS); + Thread::wait(LIGHT_BLINK_WAIT_MS); apm_light_zerocross.rise(&apm_light_dimmer); }