Created
September 28, 2018 04:55
-
-
Save li2hub/358f5d157f8659ac3876cee7bba1099a 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(D1,OUTPUT); | |
pinMode(D2,OUTPUT); | |
} | |
void loop() { | |
digitalWrite(D1,HIGH); | |
digitalWrite(D2,LOW); | |
delay(2000); | |
digitalWrite(D1,LOW); | |
digitalWrite(D2,HIGH); | |
delay(2000); | |
digitalWrite(D1,LOW); | |
digitalWrite(D2,LOW); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment