esphome / esphome-core

🚨 No longer used 🚨 - The C++ framework behind ESPHome
https://esphome.io/
GNU General Public License v3.0
545 stars 113 forks source link

esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header #595

Closed Gelesa closed 5 years ago

Gelesa commented 5 years ago

Hi Everyone I am new programming and I am trying to connect ESP8266 to a wifi network by using an Arduino board and IDE. When I try to upload it, I get this:

include

_// Import required libraries // WiFi parameters char ssid = "ARDUINO"; char password = "natacion"; void setup(void) { // Start Serial Serial.begin(115200); // Connect to WiFi WiFi.begin(ssid, password); while (WiFi.status() != WLCONNECTED) { delay(500); Serial.print("."); } Serial.println(""); Serial.println("WiFi connected"); // Print the IP address Serial.println(WiFi.localIP()); } void loop() { }

If someone could help me with this please.

close-issue-app[bot] commented 5 years ago

https://github.com/esphome/esphome-core/issues/499