enjoyneering/AHTxx

Library does not work with ESP32/ESP32C3

Opened this issue · 2 comments

pkrssy commented

Hi, The library does not work for me on ESP32 or ESP32C3, on serial I get "AHT1x not connected or fail to load calibration coefficient". On ESP32 the sensor is connected to the default I2C pins 21,22 and no difference if aht10(21,22) is used either.
The same hardware works well on ESP32 with Adafruit library (but not on ESP32C3).

Thank you. I'll check.

pkrssy commented

If while is deactivated and only "aht10.begin();" is used in setup, the rest part of the code works.