AHTxx icon indicating copy to clipboard operation
AHTxx copied to clipboard

Library does not work with ESP32/ESP32C3

Open pkrssy opened this issue 1 year ago • 2 comments

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).

pkrssy avatar Mar 23 '24 12:03 pkrssy

Thank you. I'll check.

enjoyneering avatar Mar 28 '24 03:03 enjoyneering

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

pkrssy avatar Mar 28 '24 20:03 pkrssy