Created
July 18, 2023 01:22
-
-
Save henriquesebastiao/0fafb9777956acb8e49e841d7bb49d81 to your computer and use it in GitHub Desktop.
Piscar LED integrado do ESP8266
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
| void setup() | |
| { | |
| pinMode(2,OUTPUT); | |
| Serial.begin(115200); | |
| Serial.println("Estado do led"); | |
| } | |
| void loop() | |
| { | |
| digitalWrite(2,HIGH); | |
| Serial.println("Ligado"); | |
| delay(1500); | |
| digitalWrite(2,LOW); | |
| Serial.println("Desligado"); | |
| delay(1500); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment