 //===== For light switch =========================
 const byte lightSwitchPin = 4;
 const byte lightOnThreshold = 90;
-const int lightMaxVal = 550;
+const int lightMaxVal = 550;  
 const int lightMinVal = 6; 
 boolean lightIsOn = false;
 

}

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


//===== For hygrometer ==========================
byte moisturePercent;
const byte hygroPin = A1;
const byte hygroPower = A3;
int moistureSensorVal;

//===== For moisture readings ====================
// todo - find right value for these
const int moistureMaxVal = 255;
const int moistureMinVal = 982; 
int moistureThreshold = 1000; // <- made this up

//===== For water level sensor ===================
