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.
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