2
respostas

O Blink não funcionou e agora o nodemcu parou de piscar

Bom dia senhores,

tentei executar o codigo como indicado na aula e nao funcionou, o codigo é esse:

/* ESP8266 Blink by Simon Peter Blink the blue LED on the ESP-01 module This example code is in the public domain

The blue LED on the ESP-01 module is connected to GPIO1 (which is also the TXD pin; so we cannot use Serial.print() at the same time)

Note that this sketch uses LED_BUILTIN to find the pin with the internal LED */

void setup() { pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output }

// the loop function runs over and over again forever void loop() { digitalWrite(LED_BUILTIN, LOW); // Turn the LED on (Note that LOW is the voltage level // but actually the LED is on; this is because // it is active low on the ESP-01) delay(1000); // Wait for a second digitalWrite(LED_BUILTIN, HIGH); // Turn the LED off by making the voltage HIGH delay(2000); // Wait for two seconds (to demonstrate the active low LED) }

Além do mais, apos carregar o binario no nodemcu ele alem de nao piscar agora ele nao acende mais a luz azul q acendia quando eu plugava o usb no computador. Nao responde mais? O q aconteceu?

2 respostas

Fala ai Gustavo, de boa ?

Vi que ficou empacado nisso faz um tempo, será que conseguiu responder ? Acho que não temos tantos especialistas aqui na plataforma, ainda.

Resolvido já! Alguns vacilos mas tudo remediado hehe!