esp8266-fastled-webserver
esp8266-fastled-webserver copied to clipboard
option to set static ip.
Hi, all my IoT gadget are on a closed seperated network with no dhcp server.
i've set static ip in: WiFi.h
// config static IP IPAddress ip(192,xx,xx, x); // where xx is the desired IP Address IPAddress gateway(1x, x, x, x); // set gateway to match your network IPAddress subnet(255, 255, x, x); //
and before wifi.begin(); add: WiFi.config(ip, gateway, subnet);
including it as an option would be great :) Thanks.