Skip to content

Commit f0b596a

Browse files
committed
fix sending data period
1 parent f52a05b commit f0b596a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/control/control.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ void loop() {
7777
c4r.setVariable("State", newEvent);
7878

7979
c4r.publishData();
80+
dataTimer = dataSendingInterval;
8081

8182
Serial.println(F("Variables state:"));
8283
Serial.print(F(" LED = "));

0 commit comments

Comments
 (0)