RobTillaart / DHTNew

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

Request about DHTnew #1

Closed NiamorV closed 4 years ago

NiamorV commented 4 years ago

Hello Rob,

I'm using your DHT library DHT new, and it's working really well;

But I'm trying to declare a table of DHTnew sondes (because I have a lot of sondes, and it will really simplify my code).

Could you tell me, if it will be possible for you to make an evolution in this library in order to be able to declare a table of sondes? Something like DHTNEW MyProbe[8]; Then to declare the pins with a function call?

RobTillaart commented 4 years ago

Added an example to use an array of DHT sensors.