Updated zh_dht

This commit is contained in:
2024-05-30 09:42:12 +03:00
parent bb0a99ac2b
commit 97c8418bda
4 changed files with 27 additions and 27 deletions

View File

@ -13,7 +13,7 @@ In an existing project, run the following command to install the component:
```text
cd ../your_project/components
git clone http://git.zh.com.ru/alexey.zholtikov/zh_dht.git
git clone https://github.com/aZholtikov/zh_dht.git
```
In the application, add the component:
@ -29,7 +29,7 @@ Reading the sensor:
```c
#include "zh_dht.h"
void app_main()
void app_main(void)
{
zh_dht_handle_t dht_handle = zh_dht_init(ZH_DHT22, GPIO_NUM_5);
float humidity;