Skip to content

Instantly share code, notes, and snippets.

@mcahriman
Created February 15, 2020 11:19
Show Gist options
  • Save mcahriman/f22aec5f3b3a4e23f9d4b6cfcf7e934a to your computer and use it in GitHub Desktop.
Save mcahriman/f22aec5f3b3a4e23f9d4b6cfcf7e934a to your computer and use it in GitHub Desktop.
void setup() {
pinMode(10,OUTPUT);
}
void loop() {
//S
ti();
ti();
ti();
//O
ta();
ta();
ta();
//S
ti();
ti();
ti();
delay(3000);
}
void ta() {
digitalWrite(10,HIGH);
delay(1000);
digitalWrite(10,LOW);
delay(500);
}
void ti() {
digitalWrite(10,HIGH);
delay(500);
digitalWrite(10,LOW);
delay(1000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment