Hi,
Tried adding the false statement to the code but the readings don't change:
Readings using ADCMan library:
Battery Pin Value Read A3: 127 -- Reading when 3S Lipo (12V) is connected. Maximum read value is still 127
Battery Voltage Calculated: 3.14
Rain Pin Value Read A1: 127 -- Rain sensor Pin also always reads 127..
*******************************
Battery Pin Value Read A3: 41 -- Reading when 3S Lipo is disconnected
Battery Voltage Calculated: 1.01
Rain Pin Value Read A1: 127
*******************************
Here are the readings using the analogRead() function:
Battery Pin Value: 533
Battery Voltage: 13.17
Rain Pin Value: 1018
*******************************
If anyone knows why the ADCMan is being capped at 127 that would be great to know.
Thanks
Phil.
Tried adding the false statement to the code but the readings don't change:
Readings using ADCMan library:
Battery Pin Value Read A3: 127 -- Reading when 3S Lipo (12V) is connected. Maximum read value is still 127
Battery Voltage Calculated: 3.14
Rain Pin Value Read A1: 127 -- Rain sensor Pin also always reads 127..
*******************************
Battery Pin Value Read A3: 41 -- Reading when 3S Lipo is disconnected
Battery Voltage Calculated: 1.01
Rain Pin Value Read A1: 127
*******************************
Here are the readings using the analogRead() function:
Battery Pin Value: 533
Battery Voltage: 13.17
Rain Pin Value: 1018
*******************************
If anyone knows why the ADCMan is being capped at 127 that would be great to know.
Thanks
Phil.