Replica: swap G/B HUB75 pins for panels with green/blue LEDs exchanged

Manufacturer confirmed these matrices have the green and blue LEDs
swapped; orange (255,96,0) rendered purple. Exchange the G and B pin
assignments so every color is corrected at the wire level and the
firmware's color values stay identical to vPLASMA's.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-07-22 16:48:54 -05:00
co-authored by Claude Fable 5
parent 68e3d1f367
commit 0ed6d9495e
2 changed files with 8 additions and 5 deletions
@@ -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;
+4 -2
View File
@@ -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