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

Python • Re: lgpio.error: 'GPIO busy'

$
0
0
Your loop is infinte, and I bet you stop this loop by a keybeard 'CTR C) interrupt.
Can python catch this interrupt and releas line?
Yes, it appeared to when I tested it. Which suggests to me that code, or something using one of the same lines, is already running.
Try this:
Not sure how that will help, it merely prevents the code from being Ctrl-C exited once running.

Statistics: Posted by hippy — Sat Apr 27, 2024 8:00 pm



Viewing all articles
Browse latest Browse all 8050

Trending Articles