Moderator: igrr
ESP8266WiFi.cpp has void ESP8266WiFiClass::config(IPAddress local_ip, IPAddress gateway, IPAddress subnet)
So, I'm guessing that this should work:
IPAddress ip(192, 168, 0, 177);
IPAddress gateway(192, 168, 0, 1);
IPAddress subnet(255, 255, 255, 0);
WiFi.config(ip, gateway, subnet);
I guess something else needs changing.
Help much appreciated .