I am currently designing a small PCB using SKRNPAE010 tactile switch - which has a DPST-NO circuit. I am looking to hook the switch up to a small computer such as a Raspberry Pi via GPIO pins. I have seen that it recommended to have pull-up resistors for switches connected to microcontrollers, etc. to stabilize the signal. I made the follow circuit, which I as far as I know is correct. VCC on pins 1 & 3 will be connected to the Pi's 3.3 Power Pin, while S1-1 and S1-2 will be connected to GPIO pins on the Pi. Likewise, pins 2 & 4 are grounded.
Could a get a sanity check for this circuit? Thank you!

Could a get a sanity check for this circuit? Thank you!


