Quantcast
Channel: ThingSpeak IoT Community - Forum: Arduino
Viewing all articles
Browse latest Browse all 172

AugustoEst on Arduino Zero with WiFi101 Shield Only Sends Two Updates

$
0
0

I solved this issue by disconnecting from the WiFi after updating my ThingSpeak channel:

 

void loop()
{
   WiFi.begin(ssid, pass);
   delay(10000); // Waits 10 seconds to confirm connection
   
   // Updates x fields in ThingSpeak

   // Disconnects from the WiFi
   WiFi.disconnect();
 
   // ThingSpeak will only accept updates every 15 seconds
   delay(20000);
}

Viewing all articles
Browse latest Browse all 172

Trending Articles