• What I do not like about the rewrite is that as soon as the DHT11 instance is created, the setWatch() is activated and will collect "0" and "1" in the instance variable d... The collection of "0"s and "1"s should only be enabled within the expected window - after the request of data and within both the time and count as expected. Since multiple sensors can be on a single line, it creates another issue: all these DHT11s are concurrently active and listen, where as only one would have to...

  • The collection of "0"s and "1"s should only be enabled within the expected window

    Why, what's the benefit?
    For me setting the watch once is more effective, as it is only done once. The pin can't be used for anything else but a DHT11 sensor anyway.

    Since multiple sensors can be on a single line

    No. That is impossible. Or did I miss something?

About

Avatar for maze1980 @maze1980 started