mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.
Dependents: IoT_LED_demo ServoTest uWater_Project hackathon ... more
Diff: api/TickerResourceObserver.cpp
- Revision:
- 44:dac601597b0e
- Parent:
- 43:769d491a48c1
- Child:
- 61:143beb6d8800
--- a/api/TickerResourceObserver.cpp Sat Apr 11 21:45:27 2015 +0000 +++ b/api/TickerResourceObserver.cpp Sat Apr 11 21:50:56 2015 +0000 @@ -23,7 +23,7 @@ #include "TickerResourceObserver.h" // DEBUG - DigitalOut __ticker_led(LED2); + //DigitalOut __ticker_led(LED2); // determines whether the mDS endpoint has been registered or not... extern "C" bool nsdl_endpoint_is_registered(void); @@ -45,7 +45,7 @@ void TickerResourceObserver::observationNotifier() { if (this->isObserving() == true && this->getResource() != NULL && nsdl_endpoint_is_registered() == true) { this->getResource()->observe(); - __ticker_led = !__ticker_led; + //__ticker_led = !__ticker_led; } }