From Thonny, look at the files on your Pico (if you don't have the Files pane, go to View → Files to enable it). Find the dht.py (it might be in /lib) and delete it (either right-click contect menu after selecting it, or the hamburger menu at the top of the files pane). If it's not there, don't worry! The version frozen into the firmware should always get picked up.
As for the pull-up resistor, either of these will work, and use whichever is more convenient to you:
As for the pull-up resistor, either of these will work, and use whichever is more convenient to you:
- between DATA and VCC on the DHT11; or
- between the VCC breadboard power rail and DATA on the DHT11;
- (between the VCC breadboard power rail and GP16 on the Pico would also work)
Statistics: Posted by scruss — Sun Jun 23, 2024 11:52 pm