firmware wip - set dry value for analog soilmoisture to 300, measured with dry soil.
This commit is contained in:
parent
efd62a43a1
commit
9022743127
1 changed files with 5 additions and 1 deletions
|
@ -146,7 +146,11 @@ int getSoilmoisture(byte moistureSensor, bool returnRAW = false) {
|
|||
case 1:
|
||||
// read analog value from analog moisture sensor
|
||||
wet = 180;
|
||||
dry= 590;
|
||||
// this value was measured in air, without contact to anything
|
||||
// dry= 590;
|
||||
|
||||
// was measured in dry soil, not bone dry but really dry (6 days no watering)
|
||||
dry = 300;
|
||||
|
||||
//digitalWrite(PINsoilmoisture, HIGH);
|
||||
// wait a bit to let the circuit stabilize
|
||||
|
|
Loading…
Reference in a new issue