I am looking for examples on how to generate a sound wave and getting its output through one of the Bb many GPIO's by plugging in a piezo or a speaker. Ultimately, I'd like to generate different frequencies in a way that's akin to Arduino's Tone() function. Is this possible?
Thanks!

