BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Error: ESP8266WiFi.h: No such file or directory

Hallo,

i just bought ESP8266

i just want to make my led on and off via wifi.
i follow the instruction.

  1. i install app Blynk on my android

i don’t know if i have chossed the right Hardware on my blinyk app (look on picture

)

and then i download and install blynk library and load an example file.
but when i compile it. error:

Arduino : 1.8.10 (Windows 10), Carte : “Arduino/Genuino Uno”

ESP8266_Standalone:36:10: error: ESP8266WiFi.h: No such file or directory

#include <ESP8266WiFi.h>

^~~~~~~~~~~~~~~

compilation terminated.

exit status 1
ESP8266WiFi.h: No such file or directory

Ce rapport pourrait être plus détaillé avec
l’option “Afficher les résultats détaillés de la compilation”
activée dans Fichier → Préférences.

any idea ?

Thanks in advance,
Stev

This must solve the problem…
Follow the link below…

https://arduino-esp8266.readthedocs.io/en/latest/installing.html

Thanks you…

You need to install ESP8266 Arduino core library in the IDE.

And select an 8266 board