Skip to content

CPUTemp v1.0.4

Latest

Choose a tag to compare

@ripred ripred released this 16 Jun 05:58
· 7 commits to main since this release

CPUTemp v1.0.4

This release improves ATmega328P temperature conversion accuracy and tightens Arduino Library Manager metadata.

Changes

  • Updated the ADC-to-Celsius conversion to use the ATmega328P datasheet-derived voltage curve.
  • Added optional calibration parameters:
    • aref for boards whose internal reference differs from the nominal 1.1V.
    • offset for per-chip temperature calibration.
  • Changed architectures from * to avr because the library uses AVR-specific ADC registers.

Notes

Existing calls to temperature() continue to work with default calibration values.