nRF5 SDK v12.1.0
Clock Example
This information applies to the nRF51 Series only.

The Clock Example demonstrates the use of the clock peripherals. The example initializes the clock driver and configures an RTC0 tick event to toggle LED 1 (using PPI). The application then loops while toggling the state of the low-frequency clock, LFCLK, every 1000 milliseconds.

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

Testing

Test the Clock Example application by performing the following steps:

  1. Compile and program the application.
  2. Observe that LED 1 starts and stops blinking every second.

Documentation feedback | Developer Zone | Subscribe | Updated