Rainbowduino 2D Monochromatic LED Matrix

hey,it seems too interminable…

maybe you can use a function…

void Rainbowduino::setPixel1D(unsigned char pxnr, unsigned char colorVal)
{
int t = (int)pxnr;                       //type convert compulsively
int x,y,z;
x=t%3;
y=t/3%8;
z=t/3/8%8;
colorVal = frameBuffer[x][y][z];
}

i have not confirmed it, maybe you can have a try… :unamused: