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