39 lines
1007 B
Markdown
39 lines
1007 B
Markdown
# ESP32 ESP-IDF zh_aht - Humidity & Temperature Sensor Component
|
|
|
|
## Wiki
|
|
|
|
[EN](WIKI_EN.md) | [RU](WIKI_RU.md)
|
|
|
|
## Tested on
|
|
|
|
1. [ESP32 ESP-IDF v6.0.0](https://docs.espressif.com/projects/esp-idf/en/v6.0/esp32/index.html)
|
|
|
|
## SAST Tools
|
|
|
|
[PVS-Studio](https://pvs-studio.com/pvs-studio/?utm_source=website&utm_medium=github&utm_campaign=open_source) - static analyzer for C, C++, C#, and Java code.
|
|
|
|
## Features
|
|
|
|
1. Support of AHT10/AHT15/AHT20/AHT21/AHT25/AHT30/AHT40.
|
|
2. Support multiple sensors on one device with [zh_pca9548a](https://github.com/aZholtikov/zh_pca9548a).
|
|
3. CRC8 data integrity verification.
|
|
4. Error statistics tracking.
|
|
|
|
## Using
|
|
|
|
In an existing project, run the following command to install the component:
|
|
|
|
```text
|
|
cd ../your_project/components
|
|
git clone https://github.com/aZholtikov/zh_aht.git
|
|
```
|
|
|
|
In the application, add the component:
|
|
|
|
```c
|
|
#include "zh_aht.h"
|
|
```
|
|
|
|
## Examples
|
|
|
|
See Wiki [EN](WIKI_EN.md#usage-examples) | [RU](WIKI_RU.md#примеры-использования) |