I just bought a Latch Push Button Switch (this one). I want the LED light to turn on when you push, but I also want to do something when its pushed (send information to Processing).
With this connection i can get the light to turn on of the switch, but only get a 1 value from Arduino instead of 1 and 0. How can I get the right values when I push?