>I *think* (i.e., not proven and not measured) that a >built-in zero crossover detector is what does the trick >in the X-10 wall switch module. http://www.edcheung.com/automa/circuit.htm -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.