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

Modules

 main.c
 GPIO Example Application main file.
 

Detailed Description

The Blinky Example shows simple GPIO usage to drive LEDS on the PCA10001 board. It shows how to configure GPIO pins as outputs which can also be used to drive LEDs. The LEDs are turned on one at a time and each state lasts 100 milliseconds.

Setup

Instructions on how to set up the nRFgo Motherboard: nRFgo Motherboard Setup (nRF6310).

LED assignments:

Testing

The Blinky Example Application can be tested as follows:

  1. Compile and program the application.
  2. Observe that LED 0 and LED 1 blinks in an alternating cycle at 100 milliseconds.