[Doug] pulls a signal from the 9V AC ... circuit. It’s written for PIC but you’ll have no trouble adapting it to other microcontroller families. Take a look after the break. // Set the ...