aREST_UI
aREST_UI copied to clipboard
Wifi server wont run
I am trying to read analog input but the wifi server wont run
void loop(){ k= analogRead(k); WiFiClient client = server.available(); if (!client) { return; }while(!client.available()){ //delay(1); }rest.handle(client); }
Hello, which board/hardware are you using?
I am using analog input from nodemcu v2 12e esp8266. I realized the problem was in delay. It seems if I read analog input without delay nodemcu wifi stops working.