Hello everyone. Can wiring make a two demensional Array? I'm play around with some three color LEDs and want to make a flashing star for my Chirstmas Tree. the star I found has 11 bulbs so I have 11 LEDs and 33 output pins with about 7 possible colors for Each LED. I want to set up several patterns and use a random number generator to pick which one to run and for how long. Any Ideas Please let me.

If it can't, you can create the second dimension simply by using a uniform offset, that is, the first 11 elements of the array will be the first block of the second dimension, the next 11 elements will be the second block of dimension 2, etc.

I have 11 RGB LEDs. Arranged on an old Christmas tree topper, five are the outer star, five are an inner star and one in the center. Each RGB LED has eight states, all off, red, green, blue, redgreen, redblue, greenblue, and redgreenblue.

I have an eleven by eight matrix of 88 possible states.I have 33 digital out pins.

I was think of setting up 33 Char string arrays. Using HIGH(off) and LOW(on). then using a variable for my digitalWrite State.

I'm Try to think of a way to make it easier to write patterns. My test program is a simple series digitalwrites just using red, Green and Blue. It is getting pretty long 11 digitalwrites per State set and 5 sets total.

I have four patterns now and Ideas for two more. I finish the hardware last night and update my wiring version to 22. tonight I'll get all the pins assigned. I still need to add a decorative plate behind the star to hide the hardware and a pieces of PVC pipe for mounting onto the tree and I'm ready. I'll keep you posted.

Thank you for the quick help. I'll try it tonight. If all goes well then I'll fuse it into the main program with the others. Also I'll try out that the second program.

My father is an electronic nut from back in the late 1930's and he thinks that the star is better than any tree topper he has ever seen. He is working a Bingo program and fighting with visual basic. Last night I turn him onto Processing. He is 82 years old.