I have a problem with the pixel display. When I use the SetPixel() function, the corresponding pixel is displayed and one on the right. For example: I set the SetPixel function SetPixel(1,1,255,255,255) and the matrix displays pixel [1] [1] and [2] [1] in white. Or in the rectangle example, there are 11 columns instead of 10.
Hello everyone!
I have a problem with the pixel display. When I use the SetPixel() function, the corresponding pixel is displayed and one on the right. For example: I set the SetPixel function
SetPixel(1,1,255,255,255)
and the matrix displays pixel[1] [1]
and[2] [1]
in white. Or in the rectangle example, there are 11 columns instead of 10.Here is my code: test1.txt
I cloned the repo:
git clone https://github.com/hzeller/rpi-rgb-led-matrix
I have also installed some dependencies:
sudo apt-get update && sudo apt-get install -y git python3-dev python3-pillow
I used those commands in the repo folder:
make build-python PYTHON=$(which python3)
sudo make install-python PYTHON=$(which python3)
I have made my code executable:
chmod +x test1.py
sudo ./test1.py
I also set
isolcpus=3
in cmdline.txt anddtparam=audio=off
in config.txt. I am using Raspberry Pi 3B and 5V/2A Power Supply for the Matrix.Is there anything I can do to fix this?
EDIT: It happens only on the left side of the panel