Greetings! This is my first post, and I feel like such a n00b. I’m pretty good with computers and the like, but very VERY new with C programming.
I have a matrix of LED lights arranged in a 10x10 grid. I’ve been able to do some basic coloring of the lights as a whole, and understand how to program each light individually (by choosing 0-99). What I can’t seem to figure out is how to make groupings of lights (is this what is called an array?), so that I can affect several lights at once with a single line of code. Right now, even affecting all 100 lights at once, I can still tell that it’s going one by one down the rows. Can I blink all 100 at once without the “for(int all = 0; all < NUM_LEDS; all++)” serial/sequence style?
For example, I would like to create a label called Row1 (or I could call it “banana” for all I care) for lights 0 through 9, a label called Row2 for lights 10 through 19, etc and so forth. However I’ve scoured the net for the past 2 days and can’t seem to figure it out. I’m making the assumption that there is an easy way to do this, but I’ve made incorrect assumptions before, and don’t know enough about C to know what I can and can’t do yet.
Can someone help me? If you would like to see my basic code I’m running now, you can follow this link:
https://drive.google.com/file/d/0B9OCnB_7Mk7IazV5dXQzaGNxQ0U/view?usp=sharing