Search found 3 matches
- Sat Nov 20, 2021 6:09 pm
- Forum: ESP32 Arduino
- Topic: Include arduino dht library to esp-idf
- Replies: 0
- Views: 3059
Include arduino dht library to esp-idf
How can i add arduino library to esp-idf project. I only want to use example of simpledht in a hello world esp-idf. https://github.com/espressif/esp-idf/tree/master/examples/get-started/hello_world https://github.com/winlinvip/SimpleDHT (Please do not send this link : https://docs.espressif.com/proj...
- Sat Nov 20, 2021 6:09 pm
- Forum: ESP-IDF
- Topic: Include arduino dht library to esp-idf
- Replies: 1
- Views: 1904
Include arduino dht library to esp-idf
How can i add arduino library to esp-idf project. I only want to use example of simpledht in a hello world esp-idf. https://github.com/espressif/esp-idf/tree/master/examples/get-started/hello_world https://github.com/winlinvip/SimpleDHT (Please do not send this link : https://docs.espressif.com/proj...
- Mon Jan 25, 2021 8:46 am
- Forum: ESP-IDF
- Topic: How to pass "name" from void arg
- Replies: 0
- Views: 1525
How to pass "name" from void arg
How can i get "name" in callback function? esp_timer_handle_t oneshot_timer; static void oneshot_timer_callback(void* arg) { //printf("%s\n",(char*)arg ); NEED NAME FROM ARG ----- .name = "one-shot-name" int64_t time_since_boot = esp_timer_get_time(); ESP_LOGI(TAG_TIMER, "One-shot timer called, time...