Robotics ArduinoJLCPCB
Published © GPL3+

Tree and Saint Claus - Arduino Chstimas Project

You'll learn how to control your Arduino module Santa Claus, Christmas Tree, and download the project files.

BeginnerFull instructions provided2 hours413
Tree and Saint Claus - Arduino Chstimas Project

Things used in this project

Hardware components

JLCPCB Customized PCB
JLCPCB Customized PCB
×1
Arduino UNO
Arduino UNO
×1
LED (generic)
LED (generic)
×11
Resistor 1k ohm
Resistor 1k ohm
×11
PTS 645 Series Switch
C&K Switches PTS 645 Series Switch
×1
Resistor 10k ohm
Resistor 10k ohm
×1
Male-Header 36 Position 1 Row- Long (0.1")
Male-Header 36 Position 1 Row- Long (0.1")
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Source Code

Arduino
byte pinos = 0;

void setup() 
{
  // put your setup code here, to run once:
  for(pinos = 3; pinos <= 13; pinos++)
  {
    pinMode(pinos, OUTPUT);  
  }
  
}

void loop() 
{
  
  // put your main code here, to run repeatedly:
  for(pinos = 3; pinos <= 13; pinos++)
  {
    digitalWrite(pinos, HIGH);
    delay(50);
  }

  for(pinos = 3; pinos <= 13; pinos++)
  {
    digitalWrite(pinos, LOW);
    delay(50);
  }

}

Credits

Robotics Arduino
42 projects • 67 followers
JLCPCB
74 projects • 50 followers
JLCPCB, is the largest PCB and PCB Assembly prototype enterprise in Asia. Coupon code "JLCPCBcom" for all and permanantly available.

Comments