v2.0.1
Summary
Improved battery voltage measurement speed and accuracy.
Details
- Added list of recommended batteries to README.
- Lowered critical battery voltage to 3.20V.
- Lowered ADC sampling delay to 1ms from 10ms in the battery measurement module.
- Increased ADC sample count to 64 from 16 when measuring battery voltage.
- Updated default R1/R2 resistor values.
- Updated ADC attenuation in the battery measurement module, according to the new R1/R2 values.
- Removed support for R1/R2 swap detection due to unreliable behavior with the new R1/R2 values.
- If the two resistors are wired in reverse order, it's advised to fix it anyway. This feature is not necessary.
- Updated dependencies.
Full Changelog: v2.0.0...v2.0.1