Closed gregg-cbs closed 3 years ago
Hey,
Thanks for the lib. I am interfacing your lib with my own class so I can have all temperature logic in one place.
Doing this: SimpleDHT11 dht11(2);
SimpleDHT11 dht11(2);
Stops me from being able to do this:
class Temperature{ public: void setChannel(int _channel){ channel = _channel; dht11.setPin(_channel); } ...
Is there a another way to instantiate this?
Done
Hey,
Thanks for the lib. I am interfacing your lib with my own class so I can have all temperature logic in one place.
Doing this:
SimpleDHT11 dht11(2);
Stops me from being able to do this:
Is there a another way to instantiate this?