Guys,
I am trying to connect a 0v switch to the arduino 328 and am struggleing with the connections can anyone help with this beginner question!
I a trying to send te signal from the switch to the arduino but having no luck as yet??
Thanks
Guys,
I am trying to connect a 0v switch to the arduino 328 and am struggleing with the connections can anyone help with this beginner question!
I a trying to send te signal from the switch to the arduino but having no luck as yet??
Thanks
Connect the switch between ground and a digital pin.
Set the pin mode to INPUT, and enable the internal pullups with a "digitalWrite" to the input pin.
Closing the switch will read as LOW, and when the switch is open, it will read HIGH.