Hey guys, I've been able to use my breadboard to make a series of LED's light up, and I made a "Roulette" sort of game, where it spins through the LEDs and such.
Now I have been trying to use push-button switch, but no matter what I have tried, I keep shorting it apparently. When I press the button, Windows displays an alert saying "A USB Hub has gone past it's allowed current" or something to that effect. Then the arduino stops responding until I unplug/replug it.
I have no idea why, I have tried following the tutorial, but I just cant seem to get it to work.
I know the switch works fine, because I was able to make a quick circuit with the arduino, connecting pin 9 to one part of the switch, a LED to the other pole, then the LED to ground, and it works fine.
Here are some pictures of my set-up... this is driving me crazy!
The wire on pin 2-
The 5V and GND wires-
(They are in the right spots, the angle makes it look weird)
The 5V and GND into the breadboard-
(The white wire jumps it to the adjacent red wire, going to my switch)
The wires going to the switch-
After the switch-
The left-hand red wire is after the switch. The orange jumper leads to a 10KOhm resistor.
The resistor and purple wire-
I think this is where I am messing up, at the last part.
The green wire directly after the resistor leads to digital pin 2, and the purple wire jumps to the "-" part of the breadboard. Directly below the purple wire, after it jumps, is a green wire going to GND.
PS- Yes, I know I should use correctly/diff colored wires, but these were the only colors I had to use at the moment.