RobTillaart / DHTNew

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

Added examples for reading DHTs inside a simple function #56

Closed StarterCraft closed 3 years ago

RobTillaart commented 3 years ago

Have you seen - https://github.com/RobTillaart/DHTNew/blob/master/examples/dhtnew_runtime/dhtnew_runtime.ino

which does the runtime creation of DHT objects in the loop() function?

StarterCraft commented 3 years ago

N-no,I didn't...

StarterCraft commented 3 years ago

Please consider merging this because the method of creating a function that singletimely questions the DHT is useful.