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
_// 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() {
}
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.