Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

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

Closed
Gelesa opened this issue Jun 26, 2019 · 1 comment

Comments

@Gelesa
Copy link

Gelesa commented Jun 26, 2019

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:

  • esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header
  • Librería inválida encontrada en C:\Program Files (x86)\Arduino\libraries\libraries: No encontrado archivos de encabezado (.h) en C:\Program Files (x86)\Arduino\libraries\libraries

#include <ESP8266WiFi.h>
// 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() != WL_CONNECTED) {
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
Copy link

#499

@esphome esphome locked and limited conversation to collaborators Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant