In SX Microcontrollers, SX/B Compiler and SX-Key Tool, holdsthechains wrote: Can you post a picture of your schematic? Is it possible that the circuit is discharging too quickly through the LED's common? If you're charging the capacitor at up to 5 volts, but not getting back around to it before it dims again, your red led would flicker at ~67Hz, your green every 4 seconds, and your blue every 17 minutes or so. With the second choice of code, and I'm not sure of the cycle times for FOR.NEXT loops in SX/B, but you could concievably get to the point where they would flicker. How fast are the LEDs flashing when you have a problem? ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=118695#m118753 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)