12-05-2011 09:29 AM
hey, Im facing a problem in lighting the five leds one after the other in a 0.5 sec delay. I have a true input to the loop containing the leds to let it work continueously,Can someone please help me find a way to fix this problem?
my file is attached here.
thanks
Solved! Go to Solution.
12-05-2011 09:50 AM
You weve close. her is a snippet showing corrected behavior for cluster 2. You reall do'nt need to recreate the entire array for each itterarion. I also moved the stop button to allow you to exit faster without waiting for the for loop to compleat all cycles.
Keep reading the help file!
12-05-2011 10:00 AM
12-05-2011 10:05 AM
Why the OR function? You are feeding in an array of 5 false values. You OR that with something else, you are going to get the other wire. ORing with a false array doesn't do anything. (other than possibly limiting the array to 5 elements, but an array subset would do that for you.)