Sketch stalls when browser minimized W10
Posted: Thu Mar 10, 2016 9:39 am
I recently upgraded to W10 and have noticed that there is an increased tendancy for
my sketch to stopworking when the browser is minimized....
I'm using the following code in Void LOOP: which I borrowed from somewhere?
I would like to check if I am stalled then maybe ESPreset();
How can I check if I am stalled ???????? Any suggestions welcome.....
my sketch to stopworking when the browser is minimized....
I'm using the following code in Void LOOP: which I borrowed from somewhere?
I would like to check if I am stalled then maybe ESPreset();
How can I check if I am stalled ???????? Any suggestions welcome.....
Code: Select all
/*====================================================================================*/
void loop() {
/*===================================================================================*/
WIFIC: //
WiFiClient client = server.available(); // Check if a client has connected
if (!client) { return; } // Wait until the client sends some data
while (!client.available()) // I think stays here until data ????
{ delay(1); } // Read the first the request
String PayLD = client.readString(); // Read entire string
//==============================================================================