Arduino IDE can t find ESP8266WiFi h file

0 votes

I have been using NODEMCU ESP8266WiFi with Arduino IDE

When I run this code:

#include <ESP8266WiFi.h> 
#include <BlynkSimpleEsp8266.h> 
char auth[] = "YourAuthToken"; 
char ssid[] = "YourNetworkName"; 
char pass[] = "YourPassword"; 

void setup(){ 
    Serial.begin(9600); 
    Blynk.begin(auth, ssid, pass); 
}
void loop() 
{ 
    Blynk.run(); 
}


I get the following error:

fatal error: ESP8266WiFi.h: No such file or directory 

            #include <ESP8266WiFi.h> ^ 

compilation terminated. 

exit status 1 
Error compiling for board Arduino/Genuino Uno.
Feb 16 in Others by Soham
• 8,730 points
16 views

1 answer to this question.

0 votes

Customisation and selection of the correct card is essential while you are programming the NODEMCU card with the Arduino IDE. 

Open Arduino IDE and go to files and click on the preference in the Arduino IDE.

Add the following link to the Additional Manager URLS section: "http://arduino.esp8266.com/stable/package_esp8266com_index.json" and press the

OK button.
 

Then click Tools> Board Manager. Type "ESP8266" in the text box to search and install the ESP8266 software for Arduino IDE.

You will be successful when you try to program again by selecting the NodeMCU card after these operations. I hope I could help you.

answered Feb 16 by Aditya
• 7,280 points

Related Questions In Others

0 votes
1 answer

Get files in my own file format for its own dynamic icon

Regarding MAC support, "The Mac and Windows ...READ MORE

answered Jan 8, 2019 in Others by DataKing99
• 8,240 points
536 views
0 votes
1 answer

What are the file permissions in Linux?

There are 3 types of permissions in ...READ MORE

answered Mar 8, 2019 in Others by Naba
372 views
0 votes
1 answer

Change the permission for a file created by me in linux

If you are the system administrator or ...READ MORE

answered Mar 8, 2019 in Others by Nabarupa
316 views
0 votes
1 answer

Where can I find the details of installed files?

The details of recently and locally installed ...READ MORE

answered Mar 8, 2019 in Others by Nabarupa
157 views
0 votes
1 answer
0 votes
1 answer

How to unistall a file in Linux?

You can uninstall a file using the ...READ MORE

answered Mar 8, 2019 in Others by Nabarupa
753 views
0 votes
0 answers

How to create a batch file in windows?

What is a batch file and How ...READ MORE

Jul 4, 2019 in Others by sindhu
242 views
+1 vote
0 answers
0 votes
1 answer

TCPDF ERROR: Some data has already been output, can't send PDF file

To answer your question, do add the ...READ MORE

answered Feb 16 in Others by Aditya
• 7,280 points
13 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP