This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

[button debouncer nrf51822]

Hello Nordic~

I want to control button debouncing on my nrf51822 based custom board. I went through the button_debounce example found in [Board/nrf6310/debounce_example........]

I tried to run it on my custom board with nrf51822+SD110; but its not responding. (when downloading its showing error: Flash Download failed - "Cortex-M0)

Is there any document to understand [button_bouncing] for nrf51822. please suggest.

Thanks.

Parents
  • Hi Aryan,

    Thanks for your reply~

    well, I am just trying the application program (button-debounce) on sd110 from here [https://devzone.nordicsemi.com/documentation/nrf51/4.4.1/html/group__debouncer__example.html]. I am not changing the soft device program. I just want to know how can I try the "button debounce" example to understand, if any.

    later I tried this: [https://github.com/NordicSemiconductor/nrf51-app-button-example]

    During compiling, it showing error: [RTE\nRF_Libraries\nRF51422_xxAC\app_button.c(19): error: #5: cannot open source input file "nrf_drv_gpiote.h": No such file or directory]

    I am confusing in both the examples, which one I have to follow to understand the "de-bouncing functionality of button.

    Please clear. Thanks

Reply
  • Hi Aryan,

    Thanks for your reply~

    well, I am just trying the application program (button-debounce) on sd110 from here [https://devzone.nordicsemi.com/documentation/nrf51/4.4.1/html/group__debouncer__example.html]. I am not changing the soft device program. I just want to know how can I try the "button debounce" example to understand, if any.

    later I tried this: [https://github.com/NordicSemiconductor/nrf51-app-button-example]

    During compiling, it showing error: [RTE\nRF_Libraries\nRF51422_xxAC\app_button.c(19): error: #5: cannot open source input file "nrf_drv_gpiote.h": No such file or directory]

    I am confusing in both the examples, which one I have to follow to understand the "de-bouncing functionality of button.

    Please clear. Thanks

Children
No Data
Related