BLE demo for the Health-Thermometer service.
Dependencies: BLE_API MaximBLE mbed
Fork of BLE_Thermometer by
Revision 17:cc5d7a070eb9, committed 2016-03-03
- Comitter:
- enginerd
- Date:
- Thu Mar 03 14:38:35 2016 +0000
- Parent:
- 16:55b5a040dc6e
- Child:
- 18:06ad3c1dd186
- Commit message:
- Changed application timer to LowPowerTicker. Ticker does not operate in deepsleep().
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Thu Mar 03 14:30:31 2016 +0000 +++ b/main.cpp Thu Mar 03 14:38:35 2016 +0000 @@ -90,7 +90,7 @@ int main(void) { led1 = 1; - Ticker ticker; + LowPowerTicker ticker; ticker.attach(periodicCallback, 1); BLE &ble = BLE::Instance();