We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 93aed21 commit 8d7ce76Copy full SHA for 8d7ce76
adafruit_dht.py
@@ -138,7 +138,8 @@ def measure(self):
138
delay_between_readings = 0.5
139
if self._dht11:
140
delay_between_readings = 1.0
141
- if (self._last_called == 0) or (time.monotonic()-self._last_called > delay_between_readings):
+ if (self._last_called == 0) or \
142
+ (time.monotonic()-self._last_called > delay_between_readings):
143
self._last_called = time.monotonic()
144
145
pulses = self._get_pulses()
0 commit comments