I'm a noob so sorry if my question is stupid. So the pin 2 is an input. When the button is pressed the currents go through the yellow wire, but shouldn't the resistance be between the yellow and the switch ? Can someone enlight me ?