Closed Tob1as closed 3 years ago
@Tob1as Hello are you still need to solve this, I think this is maybe this is more a question than an issue. You could ask in the discord channel for Adafruit. However:
@jposada202020 Hello, thank you, that works. :-)
Now I hope for a solution for "A full buffer was not returned. Try again." also and then I am happy.
Hello,
i use the example file dht_simpletest.py and replace D18 with D4 for use on Raspberry Pi 3.
But now I would like to set the pin over an enviroment variable. I add this to the script:
But now I have problem to replace the number 4 in this line:
This:
works local on Raspberry, but not in Docker Container... error:
self._pin = Pin(pin.id) AttributeError: 'int' object has no attribute 'id'
. So i think i must use it with "board".Can anyone help or have an idea? :-)
(My complete Code if it helps.)