martinayotte wrote:Nope ! In your latest drawing you are actually shorting the GPIO to VCC.
Simply switch resistor and button on your original diagram, making the button connected to GND and the resistor to VCC, acting as a PullUp.
Thanks a lot, it worked!