What pins would I connect each of these pins to for this spst switch?

I'm new to spst switches and I'm making a prototype for a switch board. (This switchboard is going to put in keystrokes/inputs into my pc).

And I'm wondering on a Nano what pins would i connect this to? Thanks

Forgot to put in the link to the switch here it is

Any pin that you can configure for digital input. Those are spelled out in the Nano documentation.

But, those are 12V switches so you can't illuminate it and connect it directly to the Arduino at the same time. For that you need a special circuit.

Yeah only just realized its 12v Lol woops.

What about this one tho would that work?

Hello gmp1457

Ask Jaycar for a connection plan.

It would and you should look at the Arduino switch tutorials and examples.

Ok thanks :slight_smile:

Thanks for my laugh of the day.

If you never don't ask, you never don't get an answer. :nerd_face:

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.