Created
November 17, 2020 11:51
-
-
Save yemreeke/5a092169a8776faca03480d523743f84 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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