This repository has been archived by the owner on Aug 27, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize temperature tables for accuracy
Temperature tables are emitted by selecting arbitrary sample values to be used for the linear lookup table. This is fine in the range where the thermistor produces linear output, but it is markedly wrong near the extremes where the thermister output begins to curve. Introduce a new sample selector which chooses samples based on the "most incorrect estimate" and improves from there to ensure we get a cleaner approximation across the selected range.
- Loading branch information