esp8266-fastled-desk-light
esp8266-fastled-desk-light copied to clipboard
Static IP ?
Hi mate .. thanks for wonderful project , i am wondering is there any way i can assign a Static IP to this code ??
Sorry for the late response, unfortunatly static ip is not implement because it does not work reliable and heavily depends on the installed version.
Paste the following code right after the WiFi.begin(...) function in the .ino file:
IPAddress ip(192,168,0,200);
IPAddress gateway(192,168,0,254);
IPAddress subnet(255,255,255,0);
WiFi.config(ip, gateway, subnet);