change send interval from 10 to 30 minutes

This commit is contained in:
Nicu Hodos 2018-07-15 12:34:18 +02:00
parent 74e41a6b58
commit 8c8ea27753
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ ISR(WDT_vect) {
return;
}
counter++;
if (counter % 76 == 0) {
if (counter % 225 == 0) {
sensor.sendStateAndVoltage(readState());
counter = 0;
}

View File

@ -47,7 +47,7 @@ ISR(WDT_vect) {
return;
}
counter++;
if (counter % 76 == 0) {
if (counter % 225 == 0) {
sensor.sendStateAndVoltage(readState());
counter = 0;
}