In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mgreen wrote: You could use a transistor, but not the circuit you posted. I'd recommend instead using an optocoupler with the LED triggered by the 12V circuit and the output phototransistor connected between the I/O pin and ground with a 10K resistor connected from the I/O pin to +5V. The input is low if the LED is on and high if the LED is off. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=266217#m266291 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)