So I'm super new to XY Matrices and I'm trying to adapt my tree

(Christopher Kirkman) #1

So I’m super new to XY Matrices and I’m trying to adapt my tree code to strips hanging vertically. Even trying the demo, as soon as I change the height/width to be 5 and 60 (5 strips, 60 LEDs per strip), I get out of memory errors and the sketch doesn’t compile. I thought at first that it was because of the large total of LEDs, but i tried a bunch of different values and was able to compile with larger values (20x20 for example).

Is there rule of matrices I’m missing? I didn’t think they HAD to be square.

(Andrew Tuline) #2

They don’t have to be square, and there’s several examples online where you define your height and width.

(Yves BAZIN) #3

@Christopher_Kirkman1 which board are you using ?

(Christopher Kirkman) #4

@Yves_BAZIN ARduino Uno. I simply don’t have enough memory and didn’t realize that until a day or so ago.

(Yves BAZIN) #5

@Christopher_Kirkman1 ok so an mcu upgrade is in order. Good luck with your build