nRF51 SDK
|
Modules | |
main.c | |
GPIO Example Application main file. | |
The Blinky Example shows how to configure GPIO pins as outputs which can also be used to drive LEDs on the hardware delivered in the nRF51822 Development Kit. Each LED is set on one at a time and each state lasts 100 milliseconds.
The source code and project file can be found in the <InstallFolder>\Nordic\nrf51822\Board\nrf6310\blinky_example
folder.
When the application starts, the 8 GPIO pins are configured as outputs to drive the LEDs. The LEDs are lit in order from LED0 to LED7 and around, with 100ms on time for each LED.
Instructions on how to set up the nRFgo Motherboard: nRFgo Motherboard Setup (nRF6310).
LED assignments:
The Blinky Example Application can be tested as follows: