dont force an output sate while we dont know if they are inverted or not

This commit is contained in:
DeltaLima 2024-12-05 02:46:07 +01:00
parent 3c14910747
commit c17819155f
2 changed files with 5 additions and 6 deletions

View file

@ -73,11 +73,10 @@ void setup() {
// set all OUTPUT to low // set all OUTPUT to low
digitalWrite(PINwaterlevel, LOW); digitalWrite(PINwaterlevel, LOW);
// For CanGrow 0.6 PCB this has to be HIGH, as its MOSFET driver // its better to leave them untuched until we know from EEPROM if they have to be inverted or not
// is inverted. //~ digitalWrite(PinFAN, HIGH);
digitalWrite(PinFAN, HIGH); //~ digitalWrite(PinLED, HIGH);
digitalWrite(PinLED, HIGH); //~ digitalWrite(PinPUMP, HIGH);
digitalWrite(PinPUMP, HIGH);
// except PINsoilmoisture // except PINsoilmoisture
// PINsoilmoisture is always HIGH and gets LOW in moment of waterlevel measurement // PINsoilmoisture is always HIGH and gets LOW in moment of waterlevel measurement
digitalWrite(PINsoilmoisture, HIGH); digitalWrite(PINsoilmoisture, HIGH);

View file

@ -1,5 +1,5 @@
/* CanGrow_Version.h gets generated from cangrow.sh */ /* CanGrow_Version.h gets generated from cangrow.sh */
const char* CanGrowVer = "0.1-dev"; const char* CanGrowVer = "0.1-dev";
const char* CanGrowBuild = "26a0c66-20241205023254"; const char* CanGrowBuild = "3c14910-20241205024405";