Code: Select all
// Comment this line to use static IP.
// Comment this line to use static IP
// # define USE_DHCP // Uncheck this line to use DHCPAnother question, in these lines below do I have to change some configuration? Or do I keep everything as it is?
Code: Select all
#ifndef USE_ESP8266 //Do not change this line  
byte mac[] = {0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED }; // Este MAC deve ser único na sua rede local.
byte ip[] = {192, 168, 0, 177};                     // Configure o IP conforme a sua rede local.
IPAddress dnsServer(8, 8, 8, 8);                    // Configure o IP conforme a sua rede local. Este é o DNS do Google, geralmente não é necessário mudar.
IPAddress gateway(192, 168, 0, 1);                  // Configure o "Gateway" conforme a sua rede local.
IPAddress subnet(255, 255, 255, 0);                 // Configure a máscara de rede conforme a sua rede local.Rômulo.

 Portal
Portal Forum
Forum Login
Login Register
Register Search
Search Contact
Contact Images
Images Videos
Videos Web Control
Web Control

 
                            
                        


 
                            
                        
