Skip to content

Commit f415edf

Browse files
author
Tom Igoe
committed
upated PachubeClientString to fix interval bug
1 parent 8ef8be6 commit f415edf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Ethernet/examples/PachubeClientString/PachubeClientString.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ IPAddress ip(10,0,0,20);
4545
// initialize the library instance:
4646
EthernetClient client;
4747

48-
long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
48+
unsigned long lastConnectionTime = 0; // last time you connected to the server, in milliseconds
4949
boolean lastConnected = false; // state of the connection last time through the main loop
5050
const unsigned long postingInterval = 10000; //delay between updates to Pachube.com
5151

0 commit comments

Comments
 (0)