I’m new to Blynk. Downloaded the library and trying to use the examples with no success. I keep getting the following error message on compilation and can’t figure out how to fix it.
C:\Users\David\Documents\Arduino\ProMini_ESP8266_Blynk_01\ProMini_ESP8266_Blynk_01.ino:31:29: fatal error: ESP8266_HardSer.h: No such file or directory
It looks like you need to include the library. In the Arduino IDE go to “Sketch” then “Include Library” then select the library. It first has to be installed in your Documents\Arduino\Libraries folder. Here’s a better guide on the process:
C:\Users\David\Documents\Arduino\libraries\Blynk/BlynkSimpleShieldEsp8266.h:14:2: error: #error Sorry, we changed things a little bit. Please check new examples for ESP8266. This is easy to fix
#error Sorry, we changed things a little bit. Please check new examples for ESP8266. This is easy to fix
Nolmath, this error message was received trying to compile the example in your Instructable Connect to Blynk using ESP8266 as Arduino Uno wifi shield (Mac only).
Is it an issue with libraries? I downloaded them again and still get error messages. And where are these so called new example?
No, that didn’t work either. Even worse. The list of errors is a mile long. I don’t think I’ve been able to get ONE single Blynk example to compile except using an esp-12 standalone. Even with that I get an error message about the esp8266 disconnecting. I have installed the latest libraries and using the latest examples (as far as I can tell) and still have compile errors. I have never had this much trouble. Has anybody really done this successfully? And willing to share code that works?
I’ve checked, double checked, triple checked wiring. Tried multiple ESPs. Reinstalled firmware on several of them. I’ve got a separate power supply. With a capacitor. Every thing I’ve read about I’ve tried. I’ve tried every thing I can think to try. It has to be something so simple that I’m just overlooking it but for the life of me I can’t figure it out. I’ve used ESPs before on other projects months ago and they worked but now I can’t get them to work with Blynk.