Skip to content

Commit 68a2a8b

Browse files
committed
feat: adjust time intervals
1 parent 73460ac commit 68a2a8b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ DHT dht(DHTPIN, DHTTYPE);
3131
#define WATER_PUMP_PIN 14
3232

3333
// Variables de muestreo
34-
const long tempHumInterval = 60000 * 10; // 1 minuto
35-
const long soilHumInterval = 3000000 * 3; // 5 minutos
36-
const long lightInterval = 3000000 * 3; // 5 minutos
34+
const long tempHumInterval = 60000; // 1 minuto
35+
const long soilHumInterval = 300000; // 5 minutos
36+
const long lightInterval = 150000; // 2.5 minutos
3737

3838
long lastTempHumTime = 0;
3939
long lastSoilHumTime = 0;

0 commit comments

Comments
 (0)