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

Python • Re: "Statement dosn't have seem to have any effect" when using less than operator.

$
0
0
I've not used gpizero for a while but last time I did there was an issue with callbacks. You wouldn't see the next one until your function returns. Going back to your original code that looks like it take most of a second to handle each callback.

I've no idea if it buffers/queues callbacks during that time or whether they're lost. Or if that behaviour has now changed and you're seeing multiple simultaneous callbacks.

It's also possible you're seeing switch bounce issues.

Statistics: Posted by thagrol — Fri Nov 28, 2025 12:18 am



Viewing all articles
Browse latest Browse all 8621

Trending Articles