How to connect a DC buzzer to a microcontroller (circuit diagram please).
From another part, is its tone is controller, by a delay function; i.e If i want to make it buzz for 10 seconds, so I connect it according to the correct diagram, BSF PORTX,PINX, call delay, then BCF PORTX,PINX or there is another logic to do that?