In SX Microcontrollers, SX/B Compiler and SX-Key Tool, bean wrote: Steve, Great idea. That's what I did. Look at the RGBPWM.SXB program I posted. Kevin, You do realize that the LEDs will flash because the loops go from 0 (completely off) to 255(completely on) ? I just hooked up 3 LEDs to RB.0, RB.1, and RB.2 and ran the program at 4Mhz and it seems to work. In fact the inside loop (green) run too fast and seems to be at a constant brightness. So I changed the step for green to -1. Bean. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=118695#m119029 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)