If you can’t get the device to connect, you could use the code above and just add this to the top
SYSTEM_MODE(SEMI_AUTOMATIC)
and in setup()
add a WiFi.on();
call.
If you can’t get the device to connect, you could use the code above and just add this to the top
SYSTEM_MODE(SEMI_AUTOMATIC)
and in setup()
add a WiFi.on();
call.