UncleRus / esp-idf-lib

Component library for ESP32-xx and ESP8266
https://esp-idf-lib.readthedocs.io/en/latest/
1.4k stars 436 forks source link

I always get reset when using i2c libraries like sht3x, sht4x, aht... #273

Closed hoatenhu closed 2 years ago

hoatenhu commented 2 years ago

Device type:

Framework version:

Describe the bug:

Here is my log,

my chip is reset all the time (esp32-wroom-32)

image

hoatenhu commented 2 years ago

when i remove ESP-ERR-CHECK in my code it gives this error

image

UncleRus commented 2 years ago

Please read the FAQ: https://github.com/UncleRus/esp-idf-lib/blob/master/FAQ.md#how-to-debug-i2c-based-drivers This is I2C scanner: https://github.com/UncleRus/esp-idf-i2cscan

PS I kindly ask you not to use images when you post logs. Use markdown instead.