Skip to content

Instantly share code, notes, and snippets.

@henriquesebastiao
Created July 18, 2023 01:22
Show Gist options
  • Save henriquesebastiao/0fafb9777956acb8e49e841d7bb49d81 to your computer and use it in GitHub Desktop.
Save henriquesebastiao/0fafb9777956acb8e49e841d7bb49d81 to your computer and use it in GitHub Desktop.
Piscar LED integrado do ESP8266
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