I'm making a prototype PCB with an STM32 chip and I want a couple of tactile switches for various reasons. I have followed the button debouncing circuit as done on the dev board:
My PCB design is physically fairly large (250mm x 150mm) and the buttons are approximately 70mm away from the microcontroller (due to physical constraints). Now my question:
Do I want my resistor and cap (C40 and R45) to be physically close to the button or the microcontroller? Does it even matter?