fadecandy don't fail me now

EL Wire/Tape/Panels, LEDs, pixels and strips, LCDs and TFTs, etc products from Adafruit

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
415
 
Posts: 1
Joined: Wed Apr 18, 2018 12:55 pm

fadecandy don't fail me now

Post by 415 »

adafruit i need help. i'm using rgbw pixels and have built a number of smaller (12x4) matrices that i would like to combine to make one larger matrix. i currently have them stacked on top of each other with the first fadecandy output being at the top. i'm aware of the challenges that come from using 32 bit pixels versus 24 bit, so my json mapping looks like this;

[ 0, 0, 0, 16, "grb" ],
[ 0, 16, 16, 16, "grb" ],
[ 0, 32, 32, 16, "grb" ],
[ 0, 48, 48, 16, "grb" ],
[ 0, 64, 0, 16, "grb" ],
[ 0, 80, 16, 16, "grb" ],
[ 0, 96, 32, 16, "grb" ],
[ 0, 112, 48, 16, "grb" ],
[ 0, 128, 0, 16, "grb" ],
[ 0, 144, 16, 16, "grb" ],
[ 0, 160, 32, 16, "grb" ],
[ 0, 176, 48, 16, "grb" ],
[ 0, 192, 0, 16, "grb" ],
[ 0, 208, 16, 16, "grb" ],
[ 0, 224, 32, 16, "grb" ],
[ 0, 240, 48, 16, "grb" ],
[ 0, 256, 0, 16, "grb" ],
[ 0, 272, 16, 16, "grb" ],
[ 0, 288, 32, 16, "grb" ],
[ 0, 304, 48, 16, "grb" ],
[ 0, 320, 0, 16, "grb" ],
[ 0, 336, 16, 16, "grb" ],
[ 0, 352, 32, 16, "grb" ],
[ 0, 368, 48, 16, "grb" ],
[ 0, 384, 0, 16, "grb" ],
[ 0, 400, 16, 16, "grb" ],
[ 0, 416, 32, 16, "grb" ],
[ 0, 432, 48, 16, "grb" ],
[ 0, 448, 0, 16, "grb" ],
[ 0, 464, 16, 16, "grb" ],
[ 0, 480, 32, 16, "grb" ],
[ 0, 496, 48 , 16, "grb"]

i can't seem to figure out the processing layout tho. i've been going insane for the last week and a half now trying to get it but there's just something there that i can't seem to get. i've only been able to find any success with going strip by strip;

opc.ledStrip(0, 16, width/2 , height/2 +160, width / 16.0, 0, false);
opc.ledStrip(0, 32, width/2 , height/2 +150, width / 16.0, 0, false);
opc.ledStrip(0, 48, width/2 , height/2 +140, width / 16.0, 0, false);
etc

but i feel that is horrible inefficient. especially considering i plan on adding many many many more of my 4x12 panels. i feel the ledGrid function would be appropriate as it will definitely be a big display may up of smaller grids but i'm hitting a wall in understanding it. please help.
thank you so much in advance for any help and all the inspiration...
clinton

Locked
Please be positive and constructive with your questions and comments.

Return to “Glowy things (LCD, LED, TFT, EL) purchased at Adafruit”