prepere deployment
This commit is contained in:
parent
6cbdfb4f06
commit
0cce84016d
@ -1,7 +1,7 @@
|
|||||||
#include <avr/sleep.h>
|
#include <avr/sleep.h>
|
||||||
|
|
||||||
|
|
||||||
const int dry = 459; // value for dry sensor
|
const int dry = 450; // value for dry sensor
|
||||||
const int wet = 207; // value for wet sensor
|
const int wet = 207; // value for wet sensor
|
||||||
|
|
||||||
float dampPotty;
|
float dampPotty;
|
||||||
@ -40,7 +40,7 @@ void loop() {
|
|||||||
Serial.println(calculateTargetDampness() , 4);
|
Serial.println(calculateTargetDampness() , 4);
|
||||||
Serial.println(calculatePumpOnTime() , 4);
|
Serial.println(calculatePumpOnTime() , 4);
|
||||||
Serial.println(calculateDampness(), 4);
|
Serial.println(calculateDampness(), 4);
|
||||||
pumpOffTime(1);
|
pumpOffTime(30);
|
||||||
wateringTheGarden();
|
wateringTheGarden();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user