nRF5 SDK  v12.0.0
Choose documentation:
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Blinky RTX Example

The Blinky RTX Example shows RTX features like osSignal, osDelay, and osTimer.

blinky_rtx.jpg

When the application starts, two GPIO pins are configured as outputs using the BSP module to drive the LEDs. Then, a new thread and 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_rtx

LED assignments:

  • LED 1 and LED 2: Blinking.

Testing

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

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