pianoplayer7rramont3Shaubrich14
Published © GPL3+

Emergency SOS LED Light

Need help? Let everyone know with this simple Morse code project.

BeginnerShowcase (no instructions)2,446
Emergency SOS LED Light

Things used in this project

Story

Read more

Schematics

Fritzing Diagram

Code

Morse Code SOS

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

void loop() {
  int ledPin = 13;
  digitalWrite(ledPin, HIGH);
  delay(100);
  digitalWrite(ledPin, LOW);
  delay(200);
  digitalWrite(ledPin, HIGH);
  delay(100);
  digitalWrite(ledPin, LOW);
  delay(200);
  digitalWrite(ledPin, HIGH);
  delay(100);
  digitalWrite(ledPin, LOW);
  delay(300);
  digitalWrite(ledPin, HIGH);
  delay(500);
  digitalWrite(ledPin, LOW);
  delay(200);
  digitalWrite(ledPin, HIGH);
  delay(500);
  digitalWrite(ledPin, LOW);
  delay(200);
  digitalWrite(ledPin, HIGH);
  delay(500);
   digitalWrite(ledPin, LOW);
  delay(300);
  digitalWrite(ledPin, HIGH);
  delay(100);
  digitalWrite(ledPin, LOW);
  delay(200);
  digitalWrite(ledPin, HIGH);
  delay(100);
  digitalWrite(ledPin, LOW);
  delay(200);
  digitalWrite(ledPin, HIGH);
  delay(100);
  digitalWrite(ledPin, LOW);
  delay(2000);
}

Credits

pianoplayer7

pianoplayer7

0 projects • 2 followers
rramont3

rramont3

0 projects • 2 followers
Shaubrich14

Shaubrich14

0 projects • 3 followers

Comments