-->
Page 1 of 1

AP web server

PostPosted: Thu Sep 28, 2017 5:42 pm
by Momo06
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;
}
...

Re: AP web server

PostPosted: Fri Oct 06, 2017 9:43 am
by Momo06
It works! I change the temperature sensor (dht11)