>I want to add sounds to a product--beeps and boops and the like. >Can I just hook a piezo speaker to a PIC output pin? >Or should I use a resistor and/or capacitor in series? http://www.dontronics.com/see.html#sound may be an interesting study for producing sounds in the format: ; SOUND port, pin, frequency, duration ; Generates squarewave tones (notes) of the specified frequency and ; duration. This demonstration program shows how to use lookup tables to ; play tunes or effects from data stored in program memory. This is an extract from the PIC Source Book/Disk by Scott Edwards found at: http://www.dontronics.com/see.html Don McKenzie mailto:don@dontronics.com http://www.dontronics.com Don's Download Dungeon: http://www.dontronics.com/download.html For more details, send a blank message to mailto:info@dontronics.com or mailto:simstick@dontronics.com or mailto:basics@dontronics.com