Skip to content

Instantly share code, notes, and snippets.

@minamiss
Created September 16, 2019 03:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save minamiss/1e249bd69c04ebfaa9413b95fa01eb24 to your computer and use it in GitHub Desktop.
Save minamiss/1e249bd69c04ebfaa9413b95fa01eb24 to your computer and use it in GitHub Desktop.
void setup() {
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
}
void loop() {
//PIN 2
digitalWrite(2,HIGH);
delay(5000);
digitalWrite(2,LOW);
delay(5000);
//PIN 6
digitalWrite(6,HIGH);
//PIN 5
digitalWrite(5,HIGH);
delay(500);
digitalWrite(5,LOW);
delay(500);
//PIN 7
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7,LOW);
delay(100);
//PIN 9
digitalWrite(9,LOW);
delay(500);
digitalWrite(9,HIGH);
delay(500);
//PIN 3
digitalWrite(3,HIGH);
delay(1000);
digitalWrite(3,LOW);
delay(1000);
//PIN 10
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
delay(100);
//PIN 8
digitalWrite(8,LOW);
delay(5000);
digitalWrite(8,HIGH);
delay(5000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment