> > You can interface a Pic directly to a 110 VAC line using a 5 ohms resistor ^^^^^ !!!!!!!!! With a 5 ohm resistor the PIC will pop like a firecracker! I'm pretty sure you meant 5 megaohms. BAJ