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.7k stars 1.17k forks source link

Invalid row sequence in 32x16 module #730

Open VadymKotsiuba opened 5 years ago

VadymKotsiuba commented 5 years ago

I have a 32x16 module. I connect the module to Raspberry Pi Zero W using Adafruit Bonnet. I use the program rpi-fb-matrix to display part of the screen on the LED module. For the test I use the image "32x16_RECT_TRUE".(1-st image) As a result, on the module I see such as on the images "32x16_RECT_FALSE" and "REAL_PHOTO".(2-nd and 3-rd images)

If you look closely, we see that the rows 0..3 are swapped with the rows 4..7; and rows 8..11 are swapped with rows 12..15.

I launch the program with the following parameters: sudo ./rpi-fb-matrix --led-rows=16 --led-multiplexing=4 matrix.cfg

Other values for "--led-multiplexing" do not give results, only spoil the picture and everything gets worse.

What it can be?

Sorry for my English. I think my English very bad. I hope you understand what I said. 32x16_rect_true real_photo 32x16_rect_false

hzeller commented 5 years ago

Please first start testing with the rpi-rgb-led-matrix project (this one) and play with the --led-multiplexing options and possibly --led-row-addr-type options to get the latest from there. Then try in the rpi-fb-matrix project (which is derived and uses this library, but since I haven't written it, I can't help you with that)