atem-tally-controller icon indicating copy to clipboard operation
atem-tally-controller copied to clipboard

M5Stickc Plus (wifi issue resolved)

Open helo-head opened this issue 4 years ago • 0 comments

Just thought I would pass along a strange solution to an even stranger problem with M5Stickc Plus devices.

There appears to be a bug in the Arduino IDE related to ESP32. I determined that the IDE was using the wrong WiFi.h which was preventing me from using wifi on my M5Stickc Plus. After several hours of troubleshooting I solved the problem by changing the reference from <Wifi.h> to "Wifi.h" which caused the compiler to search for the header. The compiler warned me there were two Wifi.h files and stated it was going to use the ESP32 version which is what I wanted to begin with. The newly compiled code worked and as such I I changed "Wifi.h" back to <Wifi.h> and its continued to work ever since.

I cannot for the life explain why the compiler was was using the wrong Wifi.h but as rule 25 says never argue with success. Your code now seems to work just fine on a M5Stickc Plus device. Im currently using ESP32 V1.0.5 rc4 and M5Stickc Plus library version 0.1

helo-head avatar Dec 29 '20 04:12 helo-head