Open GhassanYusuf opened 6 years ago
hey GhassanYusuf, you have 2 different WiFi.h header file in your lib folder kindly deletes one. actually what happens is whenever you compile your code, it will search for all the headers mentioned and if it find duplicates then throws the error (as it gets confused which header file should be used)
does both header files have the same functions, because it get confused with esp32 and the arduino native WiFi library. so in future if i am using a different board, maybe it will not work.
It's not specific to Esp32 and both the header file may have different functionality but names are same, but in your case, you just want Wifi.h for turning its wifi module on, so it's good to take it from espressiff\esp32.
And the above error is because you don't have WebServer lib. just download https://github.com/bbx10/WebServer_tng and extract in your lib folder
Wow, thanks @karan6190 it works now, wohoo
Dear Friends
good day to you, i have a problem, when trying to compile the code from example files. plz help