Updated README
This commit is contained in:
parent
98f6a100cf
commit
7339f1544b
@ -31,6 +31,7 @@ Reading the sensor:
|
|||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
|
esp_log_level_set("zh_dht", ESP_LOG_NONE);
|
||||||
zh_dht_handle_t dht_handle = zh_dht_init(ZH_DHT22, GPIO_NUM_5);
|
zh_dht_handle_t dht_handle = zh_dht_init(ZH_DHT22, GPIO_NUM_5);
|
||||||
float humidity;
|
float humidity;
|
||||||
float temperature;
|
float temperature;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user