allow sensor type selection per plant, changed calculations to use PCT values, due to different raw value meaning
This commit is contained in:
@@ -93,6 +93,9 @@
|
||||
#define MOIST_SENSOR_MAX_FRQ 10000 // 10kHz (as never more then 3000 was measured)
|
||||
#define MOIST_SENSOR_MIN_FRQ 1000 // 1kHz (500Hz margin)
|
||||
|
||||
#define ANALOG_SENSOR_MAX_MV 1000
|
||||
#define ANALOG_SENSOR_MIN_MV 100
|
||||
|
||||
#define SOLAR_VOLT_FACTOR 11
|
||||
#define BATTSENSOR_INDEX_SOLAR 0
|
||||
#define BATTSENSOR_INDEX_BATTERY 1
|
||||
|
||||
Reference in New Issue
Block a user