As Christmas is approaching, I decided to take a gift from a friend and make it look cool. I have an Arduino which is connected to a portable battery to power it. Using the breadboard, I connected male to male jumper wires from the Arduino. Therefore, using one male to male wire I could connect it to one 1k resistor and an LED light. After I was done wiring the LEDs and resistors to the Arduino, I put the 4 LEDs on different parts of the Christmas tree. I also took it a step further and made every LED turn on and after all of them were on, they would turn off. I put this part of the code in a loop.
Challenge: Look at the code and the tree you made! Try to add a yellow LED at the top of the tree to make it look like a star. Good luck!


_ztBMuBhMHo.jpg?auto=compress%2Cformat&w=48&h=48&fit=fill&bg=ffffff)








Comments