Description
Hope this is the right place to post this.. I'm a newby trying to setup a DHT 22 with rpwh, i am trying the dht_simpletest.py to see if my DHT 22 is reading ok, but getting this error...any thoughts on what going on.. Thanks
pi@raspberrypi:~ $ sudo python3 dht_simpletest.py
Traceback (most recent call last):
File "dht_simpletest.py", line 9, in
dhtDevice = adafruit_dht.DHT22(board.D4)
File "/usr/local/lib/python3.7/dist-packages/adafruit_dht.py", line 275, in init
super().init(False, pin, 1000, use_pulseio)
File "/usr/local/lib/python3.7/dist-packages/adafruit_dht.py", line 56, in init
self.pulse_in = PulseIn(self._pin, 81, True)
File "/usr/local/lib/python3.7/dist-packages/adafruit_blinka/microcontroller/bcm283x/pulseio/PulseIn.py", line 73, in init
message = self._wait_receive_msg(timeout=0.25)
File "/usr/local/lib/python3.7/dist-packages/adafruit_blinka/microcontroller/bcm283x/pulseio/PulseIn.py", line 92, in _wait_receive_msg
"Timed out waiting for PulseIn message. Make sure libgpiod is installed."
RuntimeError: Timed out waiting for PulseIn message. Make sure libgpiod is installed.
I checked python3, adafruit_dht.py, and Libgpiod are all installed !!
Would be thankful for any fix suggestions..
Thanks
QS3445