Iam wanting to use toggle switches

hello I am new to Arduino I have the pro micro and i want to build a button box for American Truck Sim but i have no idea how to wire or to write the code i just want to use toggle switches and led lights to let me know what switch is on any help would be greatly appreciated

Welcome to the forum

You started a topic in the Uncategorised category of the forum when its description explicitly tells you not to

Your topic has been moved to a relevant category. Please be careful in future when deciding where to start new topics

Start by having a look at some basic examples; they describe wiring and give you a piece of code to experiment with. E.g. file/examples/02digital/button

Sounds like fun. I wonder if anyone anywhere ever did something like that. Maybe if you googled it would turn something up:

Arduino button box

Arduino button box American Truck Sim

Just maybe.

a7

@alto777 Good idea :wink:

I tried the second search suggestion, and guess what: many examples of toggle switches!

There are possible 2 dozen different types of toggle switches. Can you please identify the switch you are using?

Just the regular on off switches

I guess that means a SPST, or single pole, single throw. What type of connections will you make to the switch? Does the switch come with wire or does the switch have push-on terminals or does the switch have ring terminals for you to solder the wire to?

It has ring terminals so I can solder the wire to I have been googling the matrix on how to do also

Give yourself an early Christmas present and pick up these resources, along with the Arduino Cookbook:

1 Like

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