bradrblack
bradrblack
This really needs to be fixed in the official library. Hard coding the SSID and KEY are fine for simple example and demo projects but not something you might want...
I found a better way to fix this. The hack I mention above removes the existing functionality which is not good. So instead, I overloaded the AdafruitIO_WiFi function so that...
> @bradrblack If you want to checkout a PR with your changes to the existing, I'll gladly look it over. PR #160 submitted.
You could try connecting to the WiFi as you do with wifi_connect and then initialize with ... AdafruitIO_WiFi io(IO_USERNAME, IO_KEY, "", ""); which prevents AIO from connecting to the network...