File tree Expand file tree Collapse file tree 7 files changed +7
-0
lines changed Expand file tree Collapse file tree 7 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ void setup() {
19
19
void loop () {
20
20
Cayenne.loop ();
21
21
22
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
22
23
if (millis () - lastMillis > 10000 ) {
23
24
lastMillis = millis ();
24
25
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ void setup() {
19
19
void loop () {
20
20
Cayenne.loop ();
21
21
22
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
22
23
if (millis () - lastMillis > 10000 ) {
23
24
lastMillis = millis ();
24
25
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ void setup() {
19
19
void loop () {
20
20
Cayenne.loop ();
21
21
22
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
22
23
if (millis () - lastMillis > 10000 ) {
23
24
lastMillis = millis ();
24
25
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ void setup() {
19
19
void loop () {
20
20
Cayenne.loop ();
21
21
22
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
22
23
if (millis () - lastMillis > 10000 ) {
23
24
lastMillis = millis ();
24
25
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ void setup() {
30
30
void loop () {
31
31
Cayenne.loop ();
32
32
33
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
33
34
if (millis () - lastMillis > 10000 ) {
34
35
lastMillis = millis ();
35
36
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ void setup() {
23
23
void loop () {
24
24
Cayenne.loop ();
25
25
26
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
26
27
if (millis () - lastMillis > 10000 ) {
27
28
lastMillis = millis ();
28
29
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ void setup() {
23
23
void loop () {
24
24
Cayenne.loop ();
25
25
26
+ // Publish data every 10 seconds (10000 milliseconds). Change this value to publish at a different interval.
26
27
if (millis () - lastMillis > 10000 ) {
27
28
lastMillis = millis ();
28
29
// Write data to Cayenne here. This example just sends the current uptime in milliseconds.
You can’t perform that action at this time.
0 commit comments