• sales

    +86-0755-88291180

RGB--Matrix-P3-64x32-Reginit

  • This is a tutorial for initializing registers, suitable for dim LEDs, and the driver chip is FM6047.
wget https://www.waveshare.com/w/upload/c/cc/REG_Init.zip
unzip REG_Init.zip
#Hardware mapping is divided into: regular, adafruit-hat, adafruit-hat-pwm, regular-pi1, classic, classic-pi1
#According to the hardware mapping used by the user, enter the corresponding folder and execute the following commands:
#For example using regular hardware mapping
cd regular
sudo make clean
sudo make
sudo ./REG_Init_Demo
#If this warning appears when compiling:
make: Warning: File 'Makefile' has modification time 13924 s in the future
gcc -Wall -c REG_Init.c -lwiringPi -lm -std=gnu99
gcc -Wall -o REG_Init_Demo REG_Init.o -lwiringPi -lm -std=gnu99
make: warning: Clock skew detected. Your build may be incomplete.
#Enter the following command:
sudo make clean
touch *
sudo make
sudo ./REG_Init_Demo
# to get rid of the warning
  • After running REG_Init_Demo, the brightness can be increased, but after RGB--Matrix-P3-64x32 is powered off, the register will be initialized again.

You need to run REG_Init_Demo again. If you want to start it automatically, you need to do the following (RGB--Matrix-P3-64x32 needs to be powered on before the Raspberry Pi is powered on):

# Here is an example of regular hardware mapping
sudo cp ~/REG_Init/regular/REG_Init_Demo /usr/local/bin/REG_Init_Demo
sudo nano /etc/rc.local
#Add REG_Init_Demo& before exit 0. Note that you must add "&" to run in the background, otherwise the system may fail to start.


TAG: Raspberry Pi 15.6 inch FHD Monitor (C) LCD 1080P Capacitive TouchScreen Display Type-C/HDMI For Computer PC Raspberry Pi Pico 1.54inch LCD display 240×240 IPS 1.54 inch screen NanoKVM-USB-Development Raspberry Pi 0.85inch LCD Sipeed Lichee Tang Nano 9K FPGA MINI Development Board GW1NR-9 GOAI Gowin E-Paper ADXL354C Raspberry Pi PCM5122 I2S DAC HIFI Sound Card DAC Audio expansion Board Free-Driver For PI5/PI4/Zero Milk V Duo Arduino 1.54inch OLED Sipeed NanoCluster Mini Cluster Board mini data center For Raspberry Pi CM45 / Computer /LM3H /M4N Raspberry Pi 5 5V5A Power SpotPear 2.66inch e-Paper e-link Module 360x184 4-Color Red Yellow Black White For Arduino Raspberry Pi STM32 Jetson Tutorial Information Wiki Program Code User Guide SpotPear RS232 to RJ45 RV1103 SC3336 HDMI to RGB Raspberry Pi 5 ISX031C GMSL Camera H100 Image Sensor IP67 protection rating For Jetson Orin And MAX9296 GMSL camera Raspberry Pi Prism