nRF51 SDK v9.0.0
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.
The name of the example is
clock_pca10028
. If you are not using the Keil Pack Installer, you can find the source code and project file of the example in the following folder:
<InstallFolder>\examples\peripheral\clock
Testing
Test the Clock Example application by performing the following steps:
- Compile and program the application.
- Observe that LED 1 starts and stops blinking every second.