I have a Raspberry Pi Zero W with a Pirate Audio (with the mini speaker) HAT attached. I’m trying to make a silly little clock. All my work is being done in Python 3.
I’ve figured out how to display a picture on the LCD display and how to get the current time superimposed over it. I can also read the buttons and call functions when they’re pressed.
What I can’t figure out is how to send any audio to the speaker. I want to make the clock chime at 0, 15, 30 and 45. Being able to control the volume would be great also.
Does anyone have any info or examples of how to send audio to the speaker on this board?
Thanks!