-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Description
Hello! I just bought an ESP8266-01 WiFi module, and I uploaded your Blink sketch through Arduino IDE, but the LED’s not blinking at all. Please help me to solve my problem. Thanks.
Hardware: ESP-01
Version: I have the new, black coloured version.
Problem description
The ESP’s built-in blue LED lights up dimly, but nothing else happens.
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 512K(64K SPIFFS)
CPU Frequency: 80Mhz
Flash Mode: DIO
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: ck
Sketch
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 acive 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)
}
Debug Messages
Sketch uses 222 201 bytes (51%) of program storage space. Maximum is 434 160 bytes.
Global variables use 31 576 bytes (38%) of dynamic memory, leaving 50 344 bytes for local variables. Maximum is 81 920 bytes.
Uploading 226352 bytes from C:\Users\Pc\AppData\Local\Temp\build8424718093711560218.tmp/Blink.cpp.bin to flash at 0x00000000
................................................................................ [ 36% ]
................................................................................ [ 72% ]
.............................................................. [ 100% ]