Hi, this is my first post to the list so I hope it's going to the right = place/formatted correctly :-) I'm working on a (commercial) project that involves a 16C73, most of the = other circuit functions are done but I still need to read ADC channel one = (RA0), process the value and create a signal that gets sent to a piezo = sounder. The ADC is my main problem, I have it reading values, thanks to the = Piclist FAQ, but I need the PIC to sleep for as much of the time as = possible, it's currently sleeping while it converts then it wakes up and I = send its value to the piezo code, but I need then to put it back into = sleep and wait until ADC channel one or RA1 changes (circuit power use is = critical). I think I can work out how to wake from sleep on RA1 changing, but I don't = even think it's possible to wake from sleep on a change in the analog = input? And, as a side note, does anyone know anything about piezo sounders? On the sig-gen it's frequency response can only be described as pathetic, = and it appears (annoyingly) to have a sweet spot at 3KHz, the customer = wants a 'Tone' control and as I can't just vary the frequency like I was = hoping to do I'm a bit at a loss. I think something along the lines of a complex waveform with the ADC value = being used to vary the harmonics would be the way forward, has anyone done = this before? Many thanks to anyone who can suggest anything, Jonathan Starr =20 R&D Technician Electronix Limited Tel +44 (0)1993 700510 Fax +44 (0)1993 700511 e-mail jonathans@electronix.co.uk web www.electronix.co.uk This e-mail has been sent to you by Electronix Ltd. This communication is intended for the addressee only, is private and=20 confidential, and is subject to the applicable terms and conditions. If you are not the intended recipient, any disclosure, copying or distribution of this information is strictly prohibited. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu