all new inside comment and everything works
This commit is contained in:
parent
1a4cddc366
commit
67d1aa55de
@ -18,9 +18,10 @@ Plant::Plant(int pinSensor, int pinPump,int plantId) {
|
||||
|
||||
char plantIdChar = plantId+'0';
|
||||
|
||||
/*
|
||||
{
|
||||
char* name = "moistZdry";
|
||||
name[6]= plantIdChar;
|
||||
name[5]= plantIdChar;
|
||||
mSensorDry = new HomieSetting<long>(name, "Moist sensor dry threshold");
|
||||
mSensorDry->setDefaultValue(4095);
|
||||
mSensorDry->setValidator([] (long candidate) {
|
||||
@ -69,6 +70,7 @@ Plant::Plant(int pinSensor, int pinPump,int plantId) {
|
||||
return ((candidate >= 0) && (candidate <= 1024) );
|
||||
});
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
void Plant::addSenseValue(int analog) {
|
||||
|
Loading…
Reference in New Issue
Block a user