In SX Microcontrollers, SX/B Compiler and SX-Key Tool, DigitalDj wrote: What I am trying to do is use the program i posted below as just a simple program with 3 loops and the PWM command(modified parallax program) to go through all the possible colors of a RGB Led that it can produce. First of all I am having problems with the For Next and being able to run them inside of each other. What i want to do is have a intensity of each led to be 0 to 255 then i want the For Next for loops to get all possible mixtures of color. What i am trying to say that i want the inside For Next to go 0 to 255 then the next loop to step 1 and the inside loop 0 to 255 then the next loop to 2 then the very outside loop to step to 1 so on and so on. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=118695 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)