Change initial HIGH delay, fix comments in examples

This commit is contained in:
Phillip Burgess
2019-01-28 17:05:54 -08:00
parent d26e8ec729
commit d6488c1fbe
4 changed files with 10 additions and 6 deletions

View File

@ -171,7 +171,7 @@ bool DHT::read(bool force) {
pinMode(_pin, INPUT_PULLUP);
// Now start reading the data line to get the value from the DHT sensor.
delayMicroseconds(60); // Delay a bit to let sensor pull data line low.
delayMicroseconds(40); // Delay a bit to let sensor pull data line low.
// Turn off interrupts temporarily because the next sections
// are timing critical and we don't want any interruptions.