Source Demo:
Download Link
My Demo:
Download Link
Please click “more” on the right!
Tips:
1.Configure LED-pins as outputs
nrf_gpio_cfg_output();
2.Open LED
nrf_gpio_pin_set();
3.Close LED
nrf_gpio_pin_clear();
4.Toggle LED
nrf_gpio_pin_toggle();
5.Delay with millisecond
nrf_delay_ms();
Part of my source files
main.c
|
|
led.h
|
|
led.c
|
|

This work is licensed under a Creative Commons Attribution 4.0 International License.