Improve calibration
gromeck opened this issue · comments
Christian Lorenz commented
The device should compute the optimal Uref during the calibration process.
The optimal Uref is the mean value between the lowest and highest Uin.
Christian Lorenz commented
Empiric evaluation turned out that not the optimal Uref is not the mean between the lowest Uin (bright) and the hight Uin (dark), but a value of 80% of of the delta between lowest and highest Uin.
The optimization is implemented with commit d7d07f9