 
 void readMoistureSensor() {
   moistureSensorVal = analogRead(hygroPin);
-  moisturePercent = map(moistureSensorVal, moistureMinVal, moistureMaxVal, 0, 100);
+  moisturePercent = reversemap(moistureSensorVal, moistureMinVal, moistureMaxVal, 0, 100);
 }
 
 void readWaterLevelSensor() {

  Console.println(my_output);
}


//===== For water pump ===========================
const byte waterPumpPin = A3;
// todo - find right value for this
const int waterLevelThreshold = 300; // <- made this up    
boolean waterPumpIsOn = false;
unsigned long wateringSeconds = 61000;
unsigned long prevWatering = 0;
int waterMaxVal = 369;
int waterMinVal = 110;   

//===== For timed events =========================
// todo - timed events use regule marers for 1 min 1 hour etc and divide blah
