Code: Select all
IPAddress ip(192, 168, 1, 241); //*****************************
IPAddress gateway(192, 168, 1, 1); //**************************
IPAddress subnet(255, 255, 255, 0); //*************************
IPAddress DNS(192, 168, 1, 1); //******************************
Code: Select all
WiFi.config(ip, gateway, subnet, DNS);//**********************