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

Esp8266wifi.h - Not found error

Before creating the topic

  1. Search forum for similar topics
  2. Check http://docs.blynk.cc and http://help.blynk.cc/
  3. Add details :
    • Hardware model + communication type. For example: Arduino UNO with Ethernet Shield
    • Smartphone OS (iOS or Android) + version
    • Blynk server or local server
    • Blynk Library version
    • Add your sketch code. :point_up:Code should be formatted as example below.

Simply paste your code between ``` If you don’t format your code, your topic can be deleted by moderators.

/*************************************************************
  Download latest Blynk library here:
    https://github.com/blynkkk/blynk-library/releases/latest

  Blynk is a platform with iOS and Android apps to control
  Arduino, Raspberry Pi and the likes over the Internet.
  You can easily build graphic interfaces for all your
  projects by simply dragging and dropping widgets.

    Downloads, docs, tutorials: http://www.blynk.cc
    Sketch generator:           http://examples.blynk.cc
    Blynk community:            http://community.blynk.cc
    Follow us:                  http://www.fb.com/blynkapp
                                http://twitter.com/blynk_app

  Blynk library is licensed under MIT license
  This example code is in public domain.

 *************************************************************
  This example runs directly on ESP8266 chip.

  Note: This requires ESP8266 support package:
    https://github.com/esp8266/Arduino

  Please be sure to select the right ESP8266 module
  in the Tools -> Board menu!

  Change WiFi ssid, pass, and Blynk auth token to run :)
  Feel free to apply it to any other example. It's simple!
 *************************************************************/

/* Comment this out to disable prints and save space */
#define BLYNK_PRINT Serial


#include <ESP8266WiFi.h>
#include <BlynkSimpleEsp8266_SSL.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "VaTnxSH_UR5CYPbHUIUz_lv93njmUI-5";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "MMVS";
char pass[] = "Shreekl@123";

void setup()
{
  // Debug console
  Serial.begin(9600);

  Blynk.begin(auth, ssid, pass);
}

void loop()
{
  Blynk.run();
}

And your question is?

Pete.

There is no question, the code do nothing :smile:
But we have all his credentials :thinking:

Question is in the topic. He is tired to type in the problem again i guess :man_facepalming: He has not installed his ESP core.
@Mandy534 Please install the ESP core and try compiling…

1 Like

Yes, I didn’t see :stuck_out_tongue_winking_eye:

1 Like

Thanks for your suggestion @Madhukesh
After installing the esp8266 Board and selecting “Generic ESP8266 Module” , an error occured after compiling as “Error compiling for board Generic ESP8266 Module.”

@Mandy534 if you scroll up to your original post you will see that the pro-forma text that appears when you create a new topic (and which you’re meant to read then delete) prompts you to provide information about the hardware you’re using, the library versions, app versions etc.
At present we have absolutely no idea what hardware you are trying to run this code on, or even whether you have the Blynk libraries installed.

Go back to basics and provide this information, and anything else that you think may be relevant, so that we can attempt to help you without making guesses about the possible cause of your problems.

Pete.