Closed baruch closed 9 years ago
I've implemented calibration for Vin but it's not perfect yet, there is something off a bit. I suspect the additive factor is done in reverse somehow.
Implemented calibration for Vout, accuracy is not great though.
commit dab90d5
calibration is working properly now in v1.0
Need to calibrate:
For the Vin a single data point is needed (no offset), but maybe using two points would help find an offset in the ADC itself
For the Vout and Iout two points are a must since the basic formula has an offset in it for both sense and control.