If its one of those small 3v - 15v type piezo buzzers then this can be driven directly from the PIC
Some further examples and reading http://www.picbasic.co.uk/forum/showthread.php?t=3076
Can't really help with the frequency part, the buzzer I use as an alarm just runs at whatever its internal frequency is when DC voltage is applied
Bookmarks