Skip to content

Instantly share code, notes, and snippets.

@frenchguycooking
frenchguycooking / gist:d368ba94bb9754faecaa10d747e0c635
Last active August 29, 2022 19:13
Collecting Temperature and Humidity with an Arduino Rev2 Wifi Board, and sending them over wifi to a server. The problem we are facing is that the loop fails after 300 loops, whether the interval time is 5s or 60s(code works for 22,000 seconds) or 100s(code works for 38,000 seconds then). At the moment I have set it up to 100s to increase the ov…
//**************************************************************************************************************************
//**************************************************************************************************************************
// CLEANER-STABLER-DATA-COLLECTION
//**************************************************************************************************************************
//**************************************************************************************************************************
// Wifi libraries
#include <SPI.h>
#include <WiFiNINA.h>
//**************************************************************************************************************************
//**************************************************************************************************************************
// ALEX-PASTA-DATA-COLLECTION V6
//**************************************************************************************************************************
//**************************************************************************************************************************
// Wifi libraries
#include <SPI.h>
#include <WiFiNINA.h>