Many examples do not work,
i'm on Windows and if try to compile NTPClient.ino all the IDE hang (installed by Board Manager)
after many try i found that the include
create rpoblem whit the original #include
I tried to Rename it in ESP8266WiFiUdp and it work
In the same dire we have some name renamed, ESP8266WiFi.h because it is a WiFi.h modification of the original present in the Arduino library folder.
It is better change all this name in this directory ?
Make sure you place #include <ESP8266WiFi.h> before any other includes from this library, like
#include <WiFiUDP.h>.
Most helpful comment
Make sure you place
#include <ESP8266WiFi.h>before any other includes from this library, like#include <WiFiUDP.h>.