In SX Microcontrollers, SX/B Compiler and SX-Key Tool, JonnyMac wrote: I would suggest the circuit above which does saturate the transistor -- that way you can turn the LEDs full on or dim them with any number of PWM techniques. Use a 1K series resistor and a 2N3904 and you'll be set. Select the current limiters based on the LED forward voltage plus about 0.3v for Vce. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=192862#m192936 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)