LED Light "Beat Flasher"

A LED flashes then it stops, then another LED does the same thing, then another LED does the same thing. Then it goes back to the first LED.

BeginnerFull instructions provided1 hour154
LED Light "Beat Flasher"

Things used in this project

Hardware components

5 mm LED: Red
5 mm LED: Red
×1
Arduino UNO
Arduino UNO
×1
5 mm LED: Green
5 mm LED: Green
×1
LED, Blue
LED, Blue
×1
Resistor 220 ohm
Resistor 220 ohm
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Code

C/C++
Use this code in the Arduino software and use the instructions to download it.
#define LED 9 
#define LEDD 8
#define LEDDD 7
// LED pin digitale 13
void setup() {
  pinMode(LED, OUTPUT); 
  pinMode(LEDD, OUTPUT);// output
  pinMode(LEDDD, OUTPUT);
}
void loop() {
  digitalWrite(LED, HIGH);
  delay(1000);
  digitalWrite(LED, LOW);
  delay(1000);
   digitalWrite(LEDD, HIGH);
  delay(1000);
  digitalWrite(LEDD, LOW);
  delay(1000);
   digitalWrite(LEDDD, HIGH);
  delay(1000);
  digitalWrite(LEDDD, LOW);
  delay(1000);
}

Credits

Daniel Kralev (Founder Of Compute Services Technology)
2 projects • 1 follower
Just a nice creator with ideas every now and then.

Comments