From 71b91502790d61e6257ad0eb61a6ab19b9f31999 Mon Sep 17 00:00:00 2001 From: Ollo Date: Sat, 25 Jun 2022 17:43:23 +0200 Subject: [PATCH] Restore frequency boundaries (7a54065a5fce8c5fd448afce79aca0221c51c6a8) --- esp32/include/ControllerConfiguration.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32/include/ControllerConfiguration.h b/esp32/include/ControllerConfiguration.h index 3d0ac5e..bff7d2e 100644 --- a/esp32/include/ControllerConfiguration.h +++ b/esp32/include/ControllerConfiguration.h @@ -94,7 +94,7 @@ #define FLOWMETER_PULSES_PER_ML 2.2 #endif -#define MOIST_SENSOR_MAX_FRQ 60000 // 60kHz (500Hz margin) +#define MOIST_SENSOR_MAX_FRQ 10000 // 10kHz (as never more then 3000 was measured) #define MOIST_SENSOR_MIN_FRQ 500 // 0.5kHz (500Hz margin) #define ANALOG_SENSOR_MAX_MV 1300 //successive approximation of good range