I’m trying to get my VS Code working for programming my ESP 12E and Arduino Uno. I have installed Python 2.7, then PlatformIO. Configured platformio.ini as follows:
platform = espressif8266
board = esp12e
framework = arduino
monitor_baud = 115200
monitor_port = COM3
I have 3 includes in my sketch:
#include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h>
I thought PlatformIO supports this basic libs but VS can’t find them. They are not in package? How i can install them or add additional board manager url?
include errors detected. Please update your includePath. IntelliSense features for this translation unit (blabla\test_esp\test_esp.ino) will be provided by the Tag Parser.
cannot open source file “functional” (dependency of “ESP8266WiFi.h”)
cannot open source file “functional” (dependency of “ESP8266WebServer.h”)
I tried build sketch and upload it to ESP anyway. It somehow made it, but sketch does not work properly.
What should i do to make it works?