Created
February 18, 2017 19:40
-
-
Save RodrigoSC/fa77e03cceb3aef0002ab1b649cd975b 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 LED1_PIN 6 | |
#define LED2_PIN 7 | |
void setup() { | |
pinMode(LED1_PIN, OUTPUT); | |
pinMode(LED2_PIN, OUTPUT); | |
} | |
void loop() { | |
digitalWrite(LED1_PIN, HIGH); | |
digitalWrite(LED2_PIN, LOW); | |
delay(1000); | |
digitalWrite(LED2_PIN, HIGH); | |
digitalWrite(LED1_PIN, LOW); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment