nRF51 SDK - S120 SoftDevice
 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 to drive the LEDs, and then new thread and timer are created.

Setup

The name of the example is blinky_rtx_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\blinky_rtx

LED assignments:

  • LED 1 and LED 2: Blinking.

Testing

Test the Blinky 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.