In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mghodge wrote: The usual way is to use a common BJT driving the gate of a MOSFET. The base of the BJT is connected to the SX, the MOSFET switches the +12v to your anodes. There are some resistors involved too. Sorry I don't have the exact details, but you can find loads of circuits with a google search like "switching 12v with 5v TTL" ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=438035#m438046 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2010 (http://www.dotNetBB.com)