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

nRF51422 GPIOTE with pushbutton

Hi,

I am building a custom PCB using the nRF51422 chip. I need to include a pushbutton switch on the PCB to generate an interrupt when it is pressed(gpiote). I am connecting the pushbutton switch to an analogue pin. For the pushbutton, should I connect the other side of it to ground or the input voltage to the board to allow an interrupt to be generated on a button press? Also, would I need any external pull-up or pull-down resistors?

Regards, Ehsan

Related