From 59f68ebd8c95c523b9ff37e2c9c17b385003c9e2 Mon Sep 17 00:00:00 2001 From: Tom Igoe Date: Fri, 2 Mar 2012 17:17:15 -0500 Subject: [PATCH] Updated pachubeClientStirng to fix posting interval bug --- .../examples/PachubeClientString/PachubeClientString.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino b/libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino index 3056ba24e..55dbbdbde 100644 --- a/libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino +++ b/libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino @@ -47,7 +47,7 @@ EthernetClient client; long lastConnectionTime = 0; // last time you connected to the server, in milliseconds boolean lastConnected = false; // state of the connection last time through the main loop -const int postingInterval = 10000; //delay between updates to Pachube.com +const unsigned long postingInterval = 10000; //delay between updates to Pachube.com void setup() { // start serial port: