1.1 KiB
1.1 KiB
ESP32 ESP-IDF component for AHT family humidity & temperature sensor
Wiki
Tested on
SAST Tools
PVS-Studio - static analyzer for C, C++, C#, and Java code.
Features
- Support of AHT10/AHT15/AHT20/AHT21/AHT25/AHT30/AHT40.
- Support some sensors on one device with zh_pca9548a.
Attention
For correct operation, please enable the following settings in the menuconfig:
I2C_ISR_IRAM_SAFE
I2C_MASTER_ISR_HANDLER_IN_IRAM
Using
In an existing project, run the following command to install the component:
cd ../your_project/components
git clone https://github.com/aZholtikov/zh_aht.git
In the application, add the component:
#include "zh_aht.h"