Merge remote-tracking branch 'origin/master' into merge-1.0.1
This commit is contained in:
commit
46d658fac8
|
@ -51,7 +51,9 @@ char server[] = "api.cosm.com"; // name address for cosm API
|
||||||
|
|
||||||
unsigned 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
|
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
|
const unsigned long postingInterval = 10L*1000L; // delay between updates to cosm.com
|
||||||
|
// the "L" is needed to use long type numbers
|
||||||
|
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// start serial port:
|
// start serial port:
|
||||||
|
|
|
@ -53,8 +53,8 @@ char server[] = "api.cosm.com"; // name address for Cosm API
|
||||||
|
|
||||||
unsigned 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
|
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
|
const unsigned long postingInterval = 10L*1000L; // delay between updates to Cosm.com
|
||||||
|
// the "L" is needed to use long type numbers
|
||||||
void setup() {
|
void setup() {
|
||||||
// start serial port:
|
// start serial port:
|
||||||
Serial.begin(9600);
|
Serial.begin(9600);
|
||||||
|
|
|
@ -41,7 +41,8 @@ char server[] = "www.arduino.cc";
|
||||||
|
|
||||||
unsigned 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
|
boolean lastConnected = false; // state of the connection last time through the main loop
|
||||||
const unsigned long postingInterval = 60*1000; // delay between updates, in milliseconds
|
const unsigned long postingInterval = 60L*1000L; // delay between updates, in milliseconds
|
||||||
|
// the "L" is needed to use long type numbers
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// start serial port:
|
// start serial port:
|
||||||
|
|
Loading…
Reference in New Issue