Abstract type WiFiUDP error
Posted: Tue Apr 30, 2019 12:12 pm
I have installed last Arduino IDE (1.8.9) and ESP8266 (2.5.0) and when I try to compile my code I get this error:
There is also ad advise about two WiFiUdp.h libraries, one on Arduino folder and one on ESP8266 folder. The ide use library in Arduino folder.
I have try to delete WIFI library on Arduino folder and can I compile my code.
But is this the right way to solve the problem? WIFI library have more files not only WiFiUDP, and in general I think is a bad idea delete official Arduino library.
Code: Select all
cannot declare variable 'ntpUDP' to be of abstract type 'WiFiUDP'
There is also ad advise about two WiFiUdp.h libraries, one on Arduino folder and one on ESP8266 folder. The ide use library in Arduino folder.
I have try to delete WIFI library on Arduino folder and can I compile my code.
But is this the right way to solve the problem? WIFI library have more files not only WiFiUDP, and in general I think is a bad idea delete official Arduino library.