Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

I want to disable the LEDs and buttons in the sample.

I am a beginner.
In the sample examples_peripheral_app_template of nRF5_SDK_15.0.0, LED1 and Button1 are enabled, how can I disable them?

If I comment out "buttons_leds_init(&erase_bonds);" in the main function, the LEDs and buttons are no longer controlled.

Is this correct?

Parents Reply Children
Related