| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Blinky Example

The Blinky Example shows how to configure the GPIO pins as outputs using the BSP module. These outputs can then be used to drive LEDs, as in this example.

Illustration of the Blinky Example workflow

When the application starts, some GPIO pins are configured as outputs to drive the LEDs. The application then loops while toggling the state of one of the LEDs every 500 milliseconds.

You can use this example without a SoftDevice. Alternatively, you can run it with SoftDevice S130 or S132.

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

# Testing

Test the Blinky Example application by performing the following steps:

1. Compile and program the application.
2. Observe that the LEDs are blinking.