Nordic DK52 Tutorial - (1)GPIO LED control
You will find many tutorial on the internet for DK52 from Nordic semiconductor, this tutorial based on SDK 16.0 and I used SEGGER Studio to write and run the code.
there are many ways to turn on / off the LED like :
nrf_gpio_pin_set
nrf_gpio_pin_clear
nrf_gpio_pin_write
nrf_gpio_pin_toggle
refer to the SDK API from here to know more.
All you need is DK52 board to execute the code.
Download the code from Github from here.
the Code will blink all the LEDs once every second for one time, then will turn each LED on with 250 ms delay between them and then turn them off with the same sequence.
and lastly will blink the led gradually and go all over again.
and this video to show you the output results
Post a Comment