Created
February 2, 2017 20:25
-
-
Save jchuahtacc/3cd351655018f464afddebbf97d6752a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #define BLUE 1 | |
| #define RED 2 | |
| void setup() { | |
| pinMode(BLUE, OUTPUT); | |
| pinMode(RED, OUTPUT); | |
| } | |
| void loop() { | |
| digitalWrite(BLUE, HIGH); | |
| digitalWrite(RED, LOW); | |
| delay(1000); | |
| digitalWrite(BLUE, LOW); | |
| digitalWrite(RED, HIGH); | |
| delay(1000); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment