The following are excerpts form the Web_HolloWorld sample code:
......
static uint8_t ip[] = { 192, 168, 1, 1 };
#define PREFIX ""
WebServer webserver(PREFIX, 80);
.......
void helloCmd(WebServer &server, WebServer::ConnectionType type, char *, bool){
.......
}
void setup()
{
.......
}
void loop()
{
.......
}
My question is :
WebServer webserver (PREFIX, 80)
How to move the "port 80" to the setup () or other section and re-declare?
Because I want to read port value from the EEPROM before WebServer start.