Carl Denk ha scritto: > That's what I do on my standby generator's PLC, but should work on a > PIC. A wallwart with 12 VAC out, rectifier bridge, and resistor voltage > divider with a pot for for calibration adjustment. All I need is voltage > within a few volts accuracy, to verify the generator is actually putting > out current, or the power line is down. Yeah, as I said, I wanted to avoid those external parts. thank you -- 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