Hi Rui
I make a web page showing how many times a day 6 heating valves open and close. data must be saved per day, week month, that means i have 18 data fields on my webpage.
I use Async Web Server which I have learned in your amazing course but you only show how to update 1 data field. with
String processor (const String & var).
i have attached code that shows how i got it to work with more data fields …but 18 🙁
Maybe you have a better solution
Regards
Aage
(const String& var){
Serial.println(var);
if(var == "D1"){
D1 = "2";
return D1;
}
if(var == "D2"){
D2 = "45";
return D2;
}
return String();
}