I just received my esp8266. I’d like to use it as a means of connecting my Arduino Mega to wifi to use Blynk. As the title of the post says, I used the eps8266 standalone example from Blynk’s lib examples. I get this error message:
In file included from C:\Users\john\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFi.h:33:0, from C:\Users\john\Documents\Arduino\espStandalone\espStandalone.ino:29: C:\Users\john\Documents\Arduino\libraries\ESP8266WiFi\src/ESP8266WiFiType.h:26:19: fatal error: queue.h: No such file or directory #include <queue.h> ^ compilation terminated. exit status 1 Error compiling for board Arduino/Genuino Mega or Mega 2560.
I downloaded the libs as instructed by the example. They are all in my arduino lib file. They all show up in the IDE. Not really sure what’s going on here as I’m pretty new to the IoT stuff. Anybody have an idea as to how this can be resolved? @Costas