We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c978977 commit 5ed9818Copy full SHA for 5ed9818
DHT.cpp
@@ -151,10 +151,6 @@ boolean DHT::read(bool force) {
151
// and we don't want any interruptions.
152
InterruptLock lock;
153
154
- // End the start signal by setting data line high for 40 microseconds.
155
- digitalWrite(_pin, HIGH);
156
- delayMicroseconds(40);
157
-
158
// Now start reading the data line to get the value from the DHT sensor.
159
pinMode(_pin, INPUT_PULLUP);
160
delayMicroseconds(10); // Delay a bit to let sensor pull data line low.
0 commit comments