diff options
author | Fede85 <f.vanzati@gmail.com> | 2012-10-18 19:03:25 +0200 |
---|---|---|
committer | Fede85 <f.vanzati@gmail.com> | 2012-10-18 19:03:25 +0200 |
commit | 12df9f2c839e81cad2cf9797cc932518e5383c7d (patch) | |
tree | b3fbb52d08859102a29ee9b4b6b20e3ddcd9d9b3 /libraries/Ethernet/examples/CosmClientString | |
parent | c313b54c00635f1be14a1b09617dc9b8b562e589 (diff) |
review of typos a and small errors in some examples
Diffstat (limited to 'libraries/Ethernet/examples/CosmClientString')
-rw-r--r-- | libraries/Ethernet/examples/CosmClientString/CosmClientString.ino | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/Ethernet/examples/CosmClientString/CosmClientString.ino b/libraries/Ethernet/examples/CosmClientString/CosmClientString.ino index 05b549b..e619924 100644 --- a/libraries/Ethernet/examples/CosmClientString/CosmClientString.ino +++ b/libraries/Ethernet/examples/CosmClientString/CosmClientString.ino @@ -51,10 +51,10 @@ EthernetClient client; //IPAddress server(216,52,233,121); // numeric IP for api.cosm.com char server[] = "api.cosm.com"; // name address for Cosm API -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 = 10*1000; //delay between updates to Cosm.com - +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 = 10L*1000L; // delay between updates to Cosm.com + // the "L" is needed to use long type numbers void setup() { // start serial port: Serial.begin(9600); |