In SX Microcontrollers, SX/B Compiler and SX-Key Tool, davehein wrote: There was an error in my previous post. I used the word emitter when I should have said collector, and collector when it should have been emitter. The emitter should be tied to ground as you have it, and the collector should be connected to one end of the solenoid coil with a series resistor if needed. The other end of the solenoid coil should be connected to +5. Dave ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=145464#m145538 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)