Skip to content

Instantly share code, notes, and snippets.

@yemreeke
Created November 17, 2020 11:51
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 yemreeke/5a092169a8776faca03480d523743f84 to your computer and use it in GitHub Desktop.
Save yemreeke/5a092169a8776faca03480d523743f84 to your computer and use it in GitHub Desktop.
void setup() {
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
}
void loop() {
digitalWrite(2,HIGH);
digitalWrite(3,LOW);
digitalWrite(4,LOW);
delay(2000);
digitalWrite(2,LOW);
digitalWrite(3,HIGH);
digitalWrite(4,LOW);
delay(300);
digitalWrite(2,LOW);
digitalWrite(3,LOW);
digitalWrite(4,HIGH);
delay(2000);
digitalWrite(2,LOW);
digitalWrite(3,HIGH);
digitalWrite(4,LOW);
delay(300);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment