The LowPowerTimeout API is a countdown timer that triggers a callback function when the timer runs out. The LowPowerTimeout interface can be though of as a one shot LowPowerTicker.

Fork of Timeout_HelloWorld by mbed_example

Revision:
5:28699dc8770e
Parent:
2:50216cc75b4a
--- a/main.cpp	Fri Jun 23 17:35:59 2017 -0500
+++ b/main.cpp	Fri May 25 18:46:28 2018 +0000
@@ -15,7 +15,7 @@
  */
 #include "mbed.h"
  
-Timeout flipper;
+LowPowerTimeout flipper;
 DigitalOut led1(LED1);
 DigitalOut led2(LED2);