circuitpython: DHT22 driver not working under CP3.0-alpha
dht_simpletest yields:
Adafruit CircuitPython 3.0.0-alpha.3-31-g8b6aeb9-dirty on 2018-03-26; Adafruit Feather M0 Express with samd21g18
>>>
>>>
>>> import dht_simpletest
('A full buffer was not returned. Try again.',)
('A full buffer was not returned. Try again.',)
('A full buffer was not returned. Try again.',)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "dht_simpletest.py", line 18, in <module>
KeyboardInterrupt:
>>>
under CP3.0 alpha
It works ok on 2.2.4.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 37 (4 by maintainers)
I have had the problem before where I enable an interrupt without clearing its previous state. We should also make sure we turn the interrupt off while we configure things.
Sorry, I don’t have more to offer. It sounds like you are on the right track so I haven’t taken a look at it. Thanks!