OKay now,
After y few different tries, I connected: PIC - 1µF - Piezo - R33 - Vss.
Sound is very good; current drawn by piezo is about 8mA.
I have attached both signals results (signal directly from PIC and signal after the 1µF cap).
Sougata,
I've tried to do as you said. But without the cap, it just does the same as before (current stays 50mA until I press a button).
I don't understand your comment about the variables initialisation. Is my "INIT" piece of code not correct?




Bookmarks