fix low sensor value
This commit is contained in:
parent
c1cb1cc003
commit
a4fd4acaa3
@ -40,7 +40,7 @@ pub mod plant_hal;
|
|||||||
const TIME_ZONE: Tz = Berlin;
|
const TIME_ZONE: Tz = Berlin;
|
||||||
|
|
||||||
const MOIST_SENSOR_MAX_FREQUENCY: u32 = 250000; // 60kHz (500Hz margin)
|
const MOIST_SENSOR_MAX_FREQUENCY: u32 = 250000; // 60kHz (500Hz margin)
|
||||||
const MOIST_SENSOR_MIN_FREQUENCY: u32 = 10000; // 0.5kHz (500Hz margin)
|
const MOIST_SENSOR_MIN_FREQUENCY: u32 = 300; // this is really really dry, think like cactus levels
|
||||||
|
|
||||||
const FROM: (f32, f32) = (
|
const FROM: (f32, f32) = (
|
||||||
MOIST_SENSOR_MIN_FREQUENCY as f32,
|
MOIST_SENSOR_MIN_FREQUENCY as f32,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user