64x64 P2 panel Red and Blue swapped

I’m using the SmartMatrix with a Teensy 3.6 to drive a P2 64x64 I got from Aliexpress

I loaded a test gif:


However the Red and blue are swapped. Blue in the gif is coming out as red and red is coming out as blue. I guess I could adjust the gif to suit but I wondered if there are any config within the sketch or plugin I could adjust? Or would I need to remap the HUB75 connector to swap the colours round?


Take a look at the wiki on GitHub, in the hardware header section I believe

Great thanks will do

I had the same problem with 2 32x64 panels also from AliExpress. One I’m using with a Raspberry Pi which has a config setting for color order. The other is using a Teensy 3.5 and SmartMatrix shield. As it happens, the panel is too small to plug the shield directly on the panel so I have to use a cable. I made my own cable with some 16 conductor ribbon and a couple IDC connectors. At one end, I separated the wires and swapped R1 - B1 and R2 - B2 (not to be confused with our robot friend). A bit tedious but it works!