1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

upated PachubeClientString to fix interval bug

This commit is contained in:
Tom Igoe 2012-03-02 17:21:12 -05:00
parent 8ef8be6ccd
commit f415edfc3b

View File

@ -45,7 +45,7 @@ IPAddress ip(10,0,0,20);
// initialize the library instance:
EthernetClient client;
long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
unsigned 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 unsigned long postingInterval = 10000; //delay between updates to Pachube.com