Marechiare ha scritto: > Why not some simple scheme with Zener diode and an optocoupler to send > a signal to the PIC when the peak voltage is higher than some certain > level? Thank you Marechiare - we've been into this and I did not want to add more parts. Liked a complete-software approach.. -- Ciao, Dario -- Cyberdyne -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist