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

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

$
0
0
You got a printf in the loop. I believe it's buffered, but I would use a lighter loop.

I did some IR remote decoding a couple of months ago using a Pico, using edge-triggered interrupts, writing to an int table. Interrupt routines were minimal and the IR timings were excellent with nothing moved into SRAM . My program only dumped the data to serial USB after a timeout (a few seconds) using timer-interrupt based sequecing.

Statistics: Posted by katak255 — Tue Jun 25, 2024 3:50 am



Viewing all articles
Browse latest Browse all 4861

Trending Articles