Sorry about this stupid question, I’m just starting and trying to read a toggle switch state.
In the tutorial http://arduino.cc/en/Tutorial/DigitalReadSerial …
There are 3 connections
2- digital input
But my swith has only 2 pins.
Again, sorry about this, I’m trying to learn.