Created
August 3, 2021 08:09
-
-
Save esthicodes/d1a0acdd74f5df8221ec069f93cb10c4 to your computer and use it in GitHub Desktop.
arduino
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
#define pinLED1 D4 | |
#define pinLED2 D7 | |
void setup() | |
{ | |
pinMode(pinLED1, OUTPUT); | |
pinMode(pinLED2, OUTPUT); | |
} | |
void loop() | |
{ | |
digitalWrite(pinLED1, HIGH); | |
digitalWrite(pinLED2, LOW); | |
delay(1000); | |
digitalWrite(pinLED1, LOW); | |
digitalWrite(pinLED2, HIGH); | |
delay(1000); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment