View Single Post
  #5   Spotlight this post!  
Unread 04-03-2016, 07:59
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,570
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Help needed with algorithm

Do you have an array that is 24 LEDs tall by some other number of LEDs wide? If so, how wide? Your current algorithm seems to be directed at filling an array 24 x 1000 LEDs. If your array is shorter (or longer) than this, you will need to change the increment of the outer loop. (Change the 500 to half of your array length.) If that doesn't do it, I can't help much more without seeing the details of the libraries and possibly hardware (LED array) you're using; a link to a page about the array would probably be enough of a lead.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote