Revert "Revert "add resistive frequency sensor, updated dependencies""

This reverts commit 42ce4cdda2.
This commit is contained in:
Empire
2023-02-12 12:51:52 +01:00
parent 42ce4cdda2
commit 3835bd96a1
8 changed files with 27 additions and 45 deletions
+1 -1
View File
@@ -318,7 +318,7 @@ void readPowerSwitchedSensors()
Plant plant = mPlants[i];
switch (plant.getSensorMode())
{
case CAPACITIVE_FREQUENCY: {
case FREQUENCY_MOD_RESISTANCE_PROBE: {
Serial << "Plant " << i << " measurement: " << mPlants[i].getCurrentMoistureRaw() << " hz " << mPlants[i].getCurrentMoisturePCT() << "%" << endl;
break;
}