After a brief period of confusion I’ve determined that my P2 128x64 panel uses RBG colour order. For instance, scrollingLayer.setColor({0x00, 0xff, 0x00});
gives blue text, not green.
Is there a way to configure SmartMatrix to send RBG, to remove the overhead of rearranging the colour-order manually before swapping buffers?
for (uint16_t i = 0; i < kMatrixWidth * kMatrixHeight; i++)
buffer[i] = rgb24(buffer[i].red, buffer[i].blue, buffer[i].green);