In SX Microcontrollers, SX/B Compiler and SX-Key Tool, eagletalontim wrote: Thanks for the code :) I found that i had to use the FOR NEXT commands, but i could not figure out how to go down instead of up. I am using RB.3 = 1 to turn on the LED before some other code is run, then after the code is done, it slowly dims the led. I think i got it working :) ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=274835#m274851 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2008 (http://www.dotNetBB.com)