RobTillaart / DHTNew

Arduino library for DHT11 and DHT22 with automatic sensor recognition
MIT License
99 stars 15 forks source link

Test sketch #78

Closed Sukalo0290 closed 2 years ago

Sukalo0290 commented 2 years ago

Do you happen to have a test sketch to try? Arduino Esp32

RobTillaart commented 2 years ago

All examples should work on ESP32. You just need to change the datapin in the examples.

Sukalo0290 commented 2 years ago

Thanks, not going to lie I didn't look in there properly. I assume the dhtnew_test would be the best one to try?

RobTillaart commented 2 years ago

What is the best is subjective.

If you take 20 minutes you can quickly go through all examples. Just read them and try to understand what happens. You will note the similarities between the code. It might even be that one of the examples is very close to your needs/ideas.

RobTillaart commented 2 years ago

If the issue is solved you may close it