Change the world

The ARMmbed classes that will be used in this section are:

  • Timer  - Create, start,stop and read a timer
  • Timeout - Call a function after a specified delay
  • Ticker - Repeatedly call a function at specified time intervals

Further documentation on these classes can be found on the ARMmbed Handbook webpage (


Some of the examples might make use of the Serial Wire Viewer, so make sure to import the SWO library correctly as described on the Serial Wire Viewer example page.

The following example programs will demonstrate the principles of basic timers: