Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Sep 30, 2019. It is now read-only.

Conversation

@BooBSD
Copy link
Contributor

@BooBSD BooBSD commented Aug 24, 2012

Temperature bugfix.

ladyada added a commit that referenced this pull request Aug 24, 2012
Typo fixed - thanks BooBSD!
@ladyada ladyada merged commit d11fb97 into adafruit:master Aug 24, 2012
@pfcurtis
Copy link

I've been working with a Raspberry Pi and the wired DHT-22. I wanted to place the sensor(s) a fair distance away from the RasPi, but found the data was not correct. In order to receive the correct data, I added a delay just prior to the loop that checks for the GPIO pin to go low. I did not submit a patch, as I suspect the delay will be different for each installation.

usleep(4);
// wait for pin to drop?

This small delay allows both the remote sensor (~60 ft away) to read properly, and does not affect the sensor connected via a Pi Cobbler.

No other changes to the code were required.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.