9
RPi 0W - How to stop long-running action
(infosec.pub)
Welcome to the Python community on the programming.dev Lemmy instance!
Past
November 2023
October 2023
July 2023
August 2023
September 2023
Okay, I've got it offloaded to a different process and I can cancel that process now. However, is there anything I need to do to let it access GPIO? It looks like it's working but nothing is coming out of the passive buzzer when I'm playing it off the other process.
EDIT: I think I got it with threading. Thanks!
Great to hear you got it sorted! May I ask out of curiosity which library you are using to play sounds?
I converted this into python; you can see it here.
Edit: Err, you will be able to see it there once I get to my laptop and make it public.
Edit: Public now!
Ah nice, you’re GPIO to generate tones with PWM. Very cool!