-
• #2
All I can suggest is that you access the underlying array with
g.buffer
and re-order the pixels yourself before sending them.// g = Graphics leds = new Uint8Array(16*16*3); g.flip = function() { leds.set(new Uint8Array(g.buffer,0,8*3), 0); leds.set(new Uint8Array(g.buffer,8*3,8*3), 8*8*3); leds.set(new Uint8Array(g.buffer,2*8*3,8*3), 8*3); // etc ... SPI1.send4bit(leds,...); }
-
• #3
This is more than I expected - thanks !
how to drive 16 tiled pixel square plates (8x8) with GRAPHICS ?
this is what I do at the moment:
build 4 columns, each with 4 plates and address them as four separated 8x32 plates, so everything has to be done four times and more ......
I would prefer to wire them up as zigzag and everything only one time if possible.
Can I overload Graphics coordinate calc function with my own to handle this, or is this mapping already there and I just missed it ?
Anyone else experimenting with more than 3 plates to draw big text, icons, pictures ..... ?