The LowPowerTimer class is used to measure time. The time will be the amount of time between when the start() and stop() functions are run. The Timer class counts from 0 up.

Fork of Timer_HelloWorld by mbed_example

Revision:
5:13760b19fc77
Parent:
2:9152128dba25
--- a/main.cpp	Fri Jun 23 16:58:22 2017 -0500
+++ b/main.cpp	Fri May 25 18:33:45 2018 +0000
@@ -15,7 +15,7 @@
  */
 #include "mbed.h"
  
-Timer t;
+LowPowerTimer t;
  
 int main() {
     t.start();