-->
Page 1 of 1

WiFi.setAutoConnect() not available to me

PostPosted: Mon Nov 20, 2017 6:33 am
by csambrook
Hi, OK so I'm not really a newbie to the esp8266, arduino or programming in general but this feels like a newbie question!

The documentation says there's a function WiFi.setAutoConnect() but when I try to use it the compiler reports "no matching function". It feels as if I've simply got an old version of the WiFi library but I can't see how to update it (or indeed which version to update to). I've uninstalled the arduino ide and reinstalled it and I've uninstalled the esp8266 board within it and reinstalled it. I'm now running:
Arduino IDE 1.8.5
Board ESP8266 2.3.0
and I believe the WiFi stuff is all part of the board package.

Can someone point me int he right direction please?

Re: WiFi.setAutoConnect() not available to me

PostPosted: Tue Nov 21, 2017 2:47 am
by schufti
you probably have to use the staging (2.4.0-rcX) versions of the board package.
in the package manager url just replace stable by staging.
don't forget to remove your currently installed package first!