Mr RB
Well-Known Member
A speaker is quite happy being driven from DC squarewave so you don't need a cap, you just need a series resistor to reduce current from the PIC pin and reduce the volume.
A 220 ohm resistor and a 500ohm trimpot are ideal (trimpot gives you a volume adjustment which you will appreciate).
A 220 ohm resistor and a 500ohm trimpot are ideal (trimpot gives you a volume adjustment which you will appreciate).