hzeller / rpi-rgb-led-matrix

Controlling up to three chains of 64x64, 32x32, 16x32 or similar RGB LED displays using Raspberry Pi GPIO
GNU General Public License v2.0
3.63k stars 1.15k forks source link

Not divisible by 2 - Mapping 9 panels #1439

Open ggggggr opened 2 years ago

ggggggr commented 2 years ago

I have a 1 daisy chain setup of (x9) 64x64 adafruit rgb led matrix panels, how can I make it happen?

The terminal tells me to make them ¨--led-chain=9 has to be divisible by 2¨, it displays a bad mapping of my file. I tried connecting 3 more, to make it 12 panels (divisible by 2), with the same parameters + ¨--led-chain=12¨ and it doesn't map properly. The panels are fully working, they display the pulsing colors demo on each panel.

code in terminal: sudo ./led-image-viewer /mnt/usb/192.gif --led-cols=64 --led-rows=64 --led-gpio-mapping=adafruit-hat-pwm --led-chain=9 --led-pixel-mapper=U-mapper

Thanx!

xuniuer commented 2 years ago

I bet panels with U-mapper/one chain/one parallel needs even number because the chain will be folded, like U, to display. To solve it, use three parallels with 3 panels one chain with default mapper, if 9 panels are used, or to use 8 or 10 panels with one parallel with U-mapper to see proper display.

davemaster commented 2 years ago

Had You tried to define 10 panels (1 ghost panel)?

Good luck