Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5334

General • Re: pico too slow to read bits from dht22 ?

$
0
0
If your goal is to just read data from your sensor, then you would be better off using a pre-built library e.g. something like https://randomnerdtutorials.com/raspber ... cropython/ (This is just an example I found, I haven't used it myself).

But typically for such low level interfacing you would be better off utilising the onboard PIO for speed. Here is another example (again not used by me) https://github.com/danjperron/PicoDHT22/DHT22.py that includes the PIO source code.

Statistics: Posted by procount — Tue Jun 25, 2024 9:34 am



Viewing all articles
Browse latest Browse all 5334

Trending Articles