alexeden / rpi-led-matrix

Node.js/Typescript bindings for the Raspberry Pi LED Matrix library (https://github.com/hzeller/rpi-rgb-led-matrix)
146 stars 26 forks source link

Display on multiple panels #18

Closed Ja9ad335h closed 3 years ago

Ja9ad335h commented 3 years ago

Hi Alex,

Thanks for this great node ts library.. I have 4 32x64 panels and i have stacked them as 2x2 is there a way to configure this to display properly?

for Ex my panels are (based on adafruit documentation)

panels = (
  ( { order = 3; rotate = 180; }, { order = 2; rotate = 180; } ),
  ( { order = 0; rotate =   0; }, { order = 1; rotate =   0; } )
)
Ja9ad335h commented 3 years ago

I found it.. need to use this config

pixelMapperConfig: LedMatrixUtils.encodeMappers({ type: PixelMapperType.U }),