adafruit / Adafruit_CircuitPython_DHT

CircuitPython support for DHT11 and DHT22 type temperature/humidity devices
MIT License
182 stars 64 forks source link

Support for DHT21/AM2301 #77

Closed semancik closed 2 years ago

tannewt commented 2 years ago

Ah, in the three call sites you'll need to reorder the parameters so the new one is last and add max_pulses=. Here are instructions to run pre-commit (which runs pylint) locally: https://learn.adafruit.com/improve-your-code-with-pylint/check-your-code-with-pre-commit