I try to call a simple website “example.com” with a wemos D1 mini.
I include <ESP8266HTTPClient.h>; but this file can not be found.
(terminal error: “fatal error: ESP8266HTTPClient.h: No such file or directory”)
Does somebody know how I can call a simple http website?
The strange thing: with the old version 0.11. my code worked. With the new version it doesn’t work. The bad thing: I can’t revert :\
EDIT & SOLUTION:
After 2 days of searching if found this solution:
simply add “lib_deps = ESP8266HTTPClient” to your platformio.ini unter the right section (for example env:d1_mini)
If you are using a different env → paste it under this env