If you use a pin as a digital input, then you can connect switches and simple sensors to a pin and then be able to check whether it is | If you use a pin as a digital input, then you can connect switches and simple sensors to a pin and then be able to check whether it is |