Any pointers or info much appreciated.
Best Regards
Dataguy
The main loop is simply :-
void loop() {
server.handleClient(); // Listen for HTTP requests from clients
}
and the basic wifi stuff is :-
WiFi.config(ip, gateway, subnet); //set static ip here - according to webpage should be OK with just ip address but will not compile.
WiFi.begin(ssid, password);
// check for connection etc here
Serial.print("Connected to ");
Serial.println(WiFi.SSID()); // Network connected to
//now start the webpage server
server.on("/", HTTP_GET, handleRoot); // Call the 'handleRoot' function when a client requests URI "/"
server.on("/upd", HTTP_POST, handleupd); // Call the 'upd' function when a POST request is made to URI "/upd"
server.onNotFound(handleNotFound); // When a client requests an unknown URI (i.e. something other than "/"), call function "handleNotFound"
server.begin(); // Actually start the server