diff --git a/Arduino/CanGrow/CanGrow.ino b/Arduino/CanGrow/CanGrow.ino index dc6ac2d..f450047 100644 --- a/Arduino/CanGrow/CanGrow.ino +++ b/Arduino/CanGrow/CanGrow.ino @@ -44,14 +44,54 @@ // DO NOT PULL D4 DOWN AT START/POWER ON !!! BOOT WILL FAIL bool WIPE; +// valSoilmoisture - contains the value of getSoilmoisture() +byte valSoilmoisture; +// valTemperature - contains the value of getTemperature() +float valTemperature; +// valTemperature - contains the value of getHumidity() +float valHumidity; +// valWaterlevel - contains the value of getWaterlevel() + + + + /* * EEPROM variables */ +// configured - if true, run setup assistant bool configured; char WIFIssid[32]; char WIFIpassword[64]; +// GrowStart - contains unix timestamp from date where grow starts (00:00) +unsigned long GrowStart; +// DayOfGrow contains on which day the grow is +byte DayOfGrow; +// DaysVeg - contains how many days to be in vegetation phase +byte DaysVeg; +// DaysBloom - contains how many days to be in bloom phase +byte DaysBloom; +// LighthoursVeg - contains how many hours the Growlight is on in Veg +byte LighthoursVeg; +// LighthoursBloom - contains how many hours the Growlight is on in Bloom +byte LighthoursBloom; +// GrowName - contains the name of the grow/plant. Up to 32 byte +char GrowName[32]; +// Sunrise - contains to which hour of day the growlight turns on +byte Sunrise; +// PINled_PWM - contains the PWM value for dimming the grow light +byte PINled_PWM; +// MoistureSensor_Type - contains which moisture sensor to use +// 0: analog capacitive sensor +// 1: I2C chirp sensor from catnip electronics +byte MoistureSensor_Type; +// UsePump - is the pump used? bool +bool UsePump; +// UseFan - is the fan used? bool +bool UseFan +// SoilmoistureLow - contains the value , when soil moisture is assumed to be low, +byte SoilmoistureLow; /* *