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

General • Re: Interrupt constantly fires weirdly

$
0
0
Show us some code. If you put too many complex code thingies into an interrupt handler, bad things can happen. (For interrupt handler items that is not super time-critical, I just set a flag and let something else downstream handle it later.)

Assuming the thing is a simple button, you can also wire up a tactile switch to test and verify that your code can work.

Statistics: Posted by katak255 — Sat Aug 03, 2024 3:21 pm



Viewing all articles
Browse latest Browse all 4817

Trending Articles