Skip to content

Releases: etno712/aht

simplification of the AHT2x class

30 Aug 09:22
5251469
Compare
Choose a tag to compare
  • the humidity and temperature attributes are direct access: they can now be read several times without requiring a request to the sensor.
  • the is_busy method is replaced by is_ready and calls to this method become mandatory for temperature and humidity updates.

v1.1.0

13 Nov 09:19
c02764b
Compare
Choose a tag to compare

Add CRC control for the status.
CRC control is now used on all commands when enabled.

V1.0.0

12 Nov 18:15
ebf5bfb
Compare
Choose a tag to compare

Major version: this version is not backward compatible: the status attribute is removed.

  • replaces the status attribute by attributes more ergonomic for the user: is_busy and is_calibrated.
  • makes a calibration after reset if necessary.
  • Fixes:
    • a major bug on the reset function systematically produced a fatal error

V0.3.0

10 Nov 18:31
25bfe54
Compare
Choose a tag to compare

optimization: Request the CRC byte only if necessary

v0.2.0

08 Nov 21:03
eca9bbb
Compare
Choose a tag to compare

Tested with MicroPython 1.17 on a Wemos D1 mini Lite card (with 1MB flash and based on ESP-8285) and an AHT21 sensor.