Tweet

Replying to @josecastillo

but! Right next to PA05 is PA04, and while it isn’t a DAC pin, it can do pulse-width modulation. Basically it can generate a square wave at an audible frequency — and what’s more it can do it in concert with PA05! Which means it gives us a second method for sounding the buzzer…

(original)