proceed with bq34z100 extraction

This commit is contained in:
2024-02-02 21:35:04 +01:00
parent 541f7e4471
commit 060a1cc32d
11 changed files with 1371 additions and 1439 deletions

View File

@@ -14,8 +14,8 @@ pub struct Config {
pub tank_sensor_enabled: bool,
pub tank_useable_ml: u32,
pub tank_warn_percent: u8,
pub tank_empty_mv: u16,
pub tank_full_mv: u16,
pub tank_empty_percent: u16,
pub tank_full_percent: u16,
pub night_lamp_hour_start: u8,
pub night_lamp_hour_end: u8,
@@ -38,8 +38,8 @@ impl Default for Config {
plants: [Plant::default(); PLANT_COUNT],
max_consecutive_pump_count: 15,
tank_useable_ml: 5000,
tank_empty_mv: 0100_u16,
tank_full_mv: 3300_u16,
tank_empty_percent: 0_u16,
tank_full_percent: 100_u16,
}
}
}