I connected a button to LED on a breadboard, how can I write a debounce function to control a button. I checked app_button.c but it seems buttons they are using is button on a board, not a button on breadboard that I used. Thank you
I connected a button to LED on a breadboard, how can I write a debounce function to control a button. I checked app_button.c but it seems buttons they are using is button on a board, not a button on breadboard that I used. Thank you
There is really no difference between a button on a board and a button on a breadboard, as long as there is a pull-up on the pin (internal or external) and there is a physical switch/button that connect the input to ground when pressed, then it can be used as a "button".
Kenneth
There is really no difference between a button on a board and a button on a breadboard, as long as there is a pull-up on the pin (internal or external) and there is a physical switch/button that connect the input to ground when pressed, then it can be used as a "button".
Kenneth