Skip to content

Commit

Permalink
upated PachubeClientString to fix interval bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Igoe committed Mar 2, 2012

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
1 parent 8ef8be6 commit f415edf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit f415edf

Please sign in to comment.