How-to Tuesday: Arduino 101 the button
Top Comments
All Comments (217)
-
At 11:00 i was like "Will you press that FUCKING button?" And all it does it switches the LED off... And you need an Arduino for it?? Dude...
-
@lolypopboy777 that's exactly how they explained it to me in physics class at school :D
-
@TakronRust Well if the circuit isn't closed, won't you be reading a floating pin ? O and the resistor is connected to pin 2, so that pin is tied to ground when the button isn't pushed and you will get a digital 0 if you read the sate of that pin from the arduino.
-
The thing is. That resistor isn't connected to anything until the button is pressed. Unless it's moved to the same row as the 5v pin, it does nothing. Plus, you don't need to keep a circuit closed when reading a high/low signal.
-
I've always wondered why resisters where connected to buttons, now I know.
-
@oscomputertricks 10K Ohm
-
what resistor do you use for the button
-
I'm very high now!
-
Your intro with the maker shed thing is annoying, shitty, and the volume is way to high. Remove that shit.



electricity is lazy -_-
lolypopboy777 8 months ago 21
@mcguiganjohn86 why don't you make one yourself then...
makmegs 1 year ago 5