nRF5 SDK v17.1.0
Blinky FreeRTOS Example

The Blinky FreeRTOS example shows FreeRTOS features like Task, TaskDelay, and Timer.

blinky_freertos.svg

When the application starts, two GPIO pins are configured using the BSP module as outputs to drive the LEDs. Then, a new thread and a timer are created.

Setup

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

LED assignments:

Testing

Test the Blinky FreeRTOS Example application by performing the following steps:

  1. Compile and program the application.
  2. Observe that the LEDs are blinking.
Note
See FreeRTOS support for more information about FreeRTOS.

Documentation feedback | Developer Zone | Subscribe | Updated