change send interval from 10 to 30 minutes
This commit is contained in:
parent
74e41a6b58
commit
8c8ea27753
@ -50,7 +50,7 @@ ISR(WDT_vect) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
if (counter % 76 == 0) {
|
if (counter % 225 == 0) {
|
||||||
sensor.sendStateAndVoltage(readState());
|
sensor.sendStateAndVoltage(readState());
|
||||||
counter = 0;
|
counter = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,7 +47,7 @@ ISR(WDT_vect) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
counter++;
|
counter++;
|
||||||
if (counter % 76 == 0) {
|
if (counter % 225 == 0) {
|
||||||
sensor.sendStateAndVoltage(readState());
|
sensor.sendStateAndVoltage(readState());
|
||||||
counter = 0;
|
counter = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user