Chat freely about anything...

User avatar
By martinayotte
#76883
if there is no class associated to handleSave function, it will work,

It is normal, you can not use a class method with ESP8266WebServer::on(), unless you make it static, otherwise it refuse to compile because there is no "this" pointer.
User avatar
By rudy
#76895
martinayotte wrote:It is normal, you can not use a class method with ESP8266WebServer::on(), unless you make it static, otherwise it refuse to compile because there is no "this" pointer.

Some day I will understand this.