Thanks for your reply.
I did use debouncer as you can see schematics in attachment, I used example code, but it doesn't work , you can see in above thread, my connections are on top design are right. Just would like to confirm that I have applied 3.3 V to switch and connected to one of pin and set as input, will that work as input interrupt ?
So, I am not sure what is wrong , Is above code and schematics right ?
Post a project archive -
“Create Workspace Bundle”
it depends on how your input pin is configured. You wrote that the switch is connected to 3.3V. So your input pin must be configured for input with pull-down enabled, otherwise you wouldn't get the low voltage value when the button is not pressed.
To be compatible with other MCUs it's recommended to connect the switch to GND, because pins are configured for input with pull-up resistor on most MCUs.