diff --git a/PlasmaNew/replica/MatrixPortalPlasma/MatrixPortalPlasma.ino b/PlasmaNew/replica/MatrixPortalPlasma/MatrixPortalPlasma.ino index 9d4b718..cf7de66 100644 --- a/PlasmaNew/replica/MatrixPortalPlasma/MatrixPortalPlasma.ino +++ b/PlasmaNew/replica/MatrixPortalPlasma/MatrixPortalPlasma.ino @@ -19,9 +19,10 @@ #include "demo_screens.h" // ---- HUB75 pins for the Adafruit Matrix Portal S3 ------------------------ -// These are Adafruit's published Matrix Portal S3 pins (Protomatter examples). -// Verify against your installed library version if the panel misbehaves. -static uint8_t rgbPins[] = {42, 41, 40, 38, 39, 37}; +// Adafruit's published Matrix Portal S3 pins (Protomatter examples), except: +// these panels have the green and blue LEDs swapped (manufacturer-confirmed), +// so the G and B pins are exchanged here. Order is R1,G1,B1,R2,G2,B2. +static uint8_t rgbPins[] = {42, 40, 41, 38, 37, 39}; static uint8_t addrPins[] = {45, 36, 48, 35}; // A,B,C,D — 4 lines for 32-high (1/16 scan) static uint8_t clockPin = 2; static uint8_t latchPin = 47; diff --git a/PlasmaNew/replica/README.md b/PlasmaNew/replica/README.md index 928c317..432fc66 100644 --- a/PlasmaNew/replica/README.md +++ b/PlasmaNew/replica/README.md @@ -45,8 +45,10 @@ Arduino IDE (or `arduino-cli`): `plasma_fonts.h`, `demo_screens.h` beside it) and Upload. The HUB75 pin arrays at the top of the `.ino` are Adafruit's published Matrix -Portal S3 values; if the panel garbles, verify them against your installed -Protomatter version. +Portal S3 values — except the G and B pins, which are exchanged because these +panels have the green and blue LEDs swapped (manufacturer-confirmed; symptom +was orange rendering as purple). If a different panel garbles, verify the +arrays against your installed Protomatter version. ## Using it with the game