I have a Arduino r3, a breadboard, 4 momentary push buttons and a shit ton of jumper leads. I know the coding part of it just dont know the wiring
Welcome to the forum
What do you want the project to do ?
What should happen when you press one of the buttons ?
Wire the buttons to take a pin LOW when pressed. Use INPUT_PULLUP in pinMode() for the button pins to activate the pullup resistor on those pins
The button pins will be HIGH when not pressed and LOW when pressed
Usually you put one one end of the wire one pin of a component and on the other end anothe pin of the same or an other component.
start with basic tutorials like
https://docs.arduino.cc/built-in-examples/digital/Button/
then learn about built-in pull-ups
https://docs.arduino.cc/tutorials/generic/digital-input-pullup/
then discover the joy of bouncing and if you want to make your life easier, use a button library such as Button in easyRun or OneButton or Toggle or EasyButton or Bounce2, ...
--
PS: your post sounds like a troll post... better come back clarify intent
Im making a button box for dcs and when i press each button i want it to send a signal (and i dont know how to code ive just found this video https://www.youtube.com/watch?v=jBFV4gU-AlA)
which is which ?
Also i think they are spst buttons because the have 2 rectangular prongs at the bottom of each of the that i have soldered jumper leads to.
i meant i know how to do it for this specific project but not anything outside of that.
also at the top tutorial you sent the button on it is different to the one i have.
post pictures of what you have
they seem to be Normally Open Momentary Self-resetting Push Button
you have two pins below, connect one to an Arduino digital pin and the other one to ground and make sure the code sets the pin as INPUT_PULLUP to read what happens to the button.
Sorry how do i set the code to INPUT_PULLUP?
I have arduino IDE open and my arduino connected?
See what I suggested
use the code from the second tutorials, if you connected to pin 10, then use that in the code
Does the button lock in the down position when you press or when you release it, it goes back up?
yes but how do i navigate the Arduino IDE to select the pinmode?
And it goes back up.
read the tutorials...
you need to do your part...
ok sorry ill do that now.