could someone please help me a bit.
I need to pass a class member function to server.on, unfortunately i get na error.
error: no matching function for call to 'ESP8266WebServer::on
This works:
void handleRoot(){}
server.on("/", handleRoot);
This doesn't:
void myClass::handleRoot(){}
void myClass::setup(){
server.on("/", handleRoot);
}
Why does this not work?
Thank you for any help