So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Momo06
#70429 Hi everyone

I used the code from sparkfun to make a thermostat AP web server. It works like a charm but it can t actualize the actual temp (and doing other stuff) itself. I post the code of the loop. See comment.

When I put some code before WiFiClient, the AP wifi not shows up o I can t connect to It.

I don t know if I m clear. Sorry for that.

Thank you very much in advance

Morgan

Void loop(){
//I need to do some stuff here like checking the actual temperature. Otherwise the thermostat will only work when a client is connected
WiFiClient client = server.available();
If (!client) {
return;
}
...