nRF5 SDK v12.3.0
Timer Example

The Timer Example demonstrates the use of the timer peripherals. This example replaces the less accurate busy delay in the Blinky Example with a more accurate hardware timer based delay.

When the application starts, some GPIO pins are configured as outputs to drive the LEDs. The applications then loops while toggling the state of one of the LEDs every 500 milliseconds.

You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\peripheral\timer

Testing

Test the Timer Example application by performing the following steps:

  1. Compile and program the application.
  2. Observe that the LEDs state is changed every 500 milliseconds.

Documentation feedback | Developer Zone | Subscribe | Updated