Skip to content

Commit 3ebb306

Browse files
tigoeTom Igoe
authored andcommitted
Updated pachubeClientStirng to fix posting interval bug
1 parent 6cc30d8 commit 3ebb306

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/PachubeClientString/PachubeClientString.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ EthernetClient client;
4747

4848
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
50-
const int postingInterval = 10000; //delay between updates to Pachube.com
50+
const unsigned long postingInterval = 10000; //delay between updates to Pachube.com
5151

5252
void setup() {
5353
// start serial port:

0 commit comments

Comments
 (0)