Skip to content

Conversation

SecT0uch
Copy link

Hi,
The print() in exit() function was polluting stdout, I removed it.

tdicola and others added 30 commits October 20, 2017 14:04
Added pylint to build process and update .py files
 modified get_pulses to reduce errors
 fix DHT22 handling of negative temperatures
ladyada and others added 29 commits January 4, 2020 21:33
Moved repository from Travis to GitHub Actions
Signed-off-by: sommersoft <[email protected]>
Currently, we update self._temperature and self._humidity, even if it
turns out that the data returned by the sensor was bogus. If the user
queries the data within two seconds after an error, they will actually
get wrong data.

Fix this by updating _temperature and _humidity attributes only if no
error was detected.
Black reformatting with Python 3 target.
Right now, pulse_in is active until the first reading and only paused
after that. Let's immediately pause it to free up the CPU.
Deinitialize pulsein object on exit, gave option to choose whether or not to use pulseio
Immediately pause pulse_in after initialization
This was polluting stdout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.