prepere deployment

This commit is contained in:
Erik Foris 2022-04-12 20:04:27 +02:00
parent 6cbdfb4f06
commit 0cce84016d

View File

@ -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();
} }