> I did never implement it myself, but I consider this AN from STM very > detailed and good design with all the rationale in place: > http://www.st.com/stonline/products/literature/an/8313.pdf But the capacitive version still has the 'shock from the mains plug' syndrome.. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist