Turning Multiple LED Lights on At Once with Elegoo Arduino Uno

By: Fox, Burton, Reporter

This project I created to turn multiple led lights on at the same time using Elegoo Arduino Uno.

MATERIALS NEEDED


  • Elegoo Arduino Uno
  • Elegoo bread board
  • 10 LED lights (any color)
  • 2 wires with pins
  • USB cable

    DOWNLAODS NEEDED


  • Arduino (https://login.arduino.cc/login?)

    STEPS


  1. put one wire from GND to -1 on the bread board.
  2. put a wire from pin 13 to +1 on the bread board
  3. put any number of led lights were the + and – are. long in positive and short in negative
  4. plug usb cable in and write down the code

    CODE


    void setup()
    {
    pinMode(13, OUTPUT);
    }

    void loop()
    {
    digitalWrite(13, HIGH);
    delay(1000); // Wait for 1000 millisecond(s)
    digitalWrite(13, LOW);
    delay(1000); // Wait for 1000 millisecond(s)
    }