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

Troubleshooting • Gpiozero Lingering On LED

$
0
0
Hi, I have an LED that is turned on in the script, but it stays that way even if the script is terminated/closed/exited. Anyone know if this is a bug or a feature?

API: gpiozero
Version: 2.0.1

Attempts:
1) Using "atexit" and manually setting them off using ".off()" and/or ".close()"
2) Trying to use "signal" and "SIGINT" with "SIGTERM" with ".off()" and/or ".close()"

Statistics: Posted by SalRaz — Tue Apr 30, 2024 1:34 am



Viewing all articles
Browse latest Browse all 3556

Trending Articles