Dwayne Reid ha scritto: > 2) I don't think that your approach works as you envision it. I > *think* that Dario mentioned that the transformer has a 12Vac > winding. That means peak voltage is about plus minus 17V. Put that > in series with the 5V rail: that gives voltage range of +22V through > -12V. Doesn't matter what your divider is, you are still going to [...] No it is 6V, actually the least I could find :) but the talk is correct for the rest, including the Dimmer thing. Actually, I'm considering if I can use the ADC for the Zero Crossing Task - this would free one pin and some software. Will check later... -- 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