#arduinostuff
Explore tagged Tumblr posts
Photo

3Pcs RobotDyn Red LED Tube 4-Digit 7-segments Display Module For Arduino DIY #arduinostuff #arduinosupplies #arduinostuff #eetparts #eetstuff #eetlife #electronics | eBay https://buff.ly/2o7RCEa
0 notes
Text
Moar Digital Ins and Outs

So I created this circuit. It's pretty simple if both switches are in the on position the green light lights up, otherwise the red light lights up. Pretty simple circuit just duplicated what I had on the initially on one side for the LEDs and switches to the other side with different digital inputs of course. Those digital inputs were then put into code via variable declaration and the setup function. Then a single if statement in the loop() accomplishes the functionality described previously.
I didn’t know about the gap in the bread board that made things difficult for a bit even though I got the circuit correct right off the bat. The Digital inputs I was using at first for the red light were wrong at first not sure why just changed them over to the other side.
github: https://github.com/Sundredshadow/ArduinoStuff
0 notes