clear averages for each run, ignore distances higher than tank depth
This commit is contained in:
@@ -55,6 +55,10 @@ void Plant::init(void)
|
||||
digitalWrite(this->mPinPump, LOW);
|
||||
}
|
||||
|
||||
void Plant::clearMoisture(void){
|
||||
this->moistureRaw.clear();
|
||||
}
|
||||
|
||||
void Plant::addSenseValue(void)
|
||||
{
|
||||
int raw = analogRead(this->mPinSensor);
|
||||
|
||||
Reference in New Issue
Block a user