• 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 LCD Display Screen 1.3inch LCD with Game Button AND Audio Buzzer For Zero 2W / 3B / 4B / PI5 / RP2040-PiZero 1.83inch LCD TouchScreen Display 240×284 ST7789P For Arduino /Raspberry Pi /ESP32 /Pico /STM32 Jetson Nano Cooler RS232 to RS485 Luckfox Pico SPI LCD LuckFox Pico pro Raspberry Pi Pico 2 RP2350-Matrix Development Board 8×8 RGB LED Matrix QMI8658 6-Axis Sensor Industrial 4-ch PWM RS485 pulse output module Modbus RTU rail Program Industrial UART USB TO 8CH RS485 Isolated Converter For 35mm standard rail and stacked installation Raspberry Pi 5 Cooling ESP32 S3 Development Board 2.8 inch Round LCD Display 480x480 QMI8658 Sensor / SD /MP3 Audio /Battery Port LVGL/HMI For Arduino Raspberry Pi 9.7 inch e-Paper HAT+ (E) E-Ink E6 Full color 1120x784 Screen Display For Arduino /STM32 /ESP32/Jetson Nano development board Type-C Power Adapter MP2.5G Raspberry Pi 5 PCIe to 2.5G Ethernet HAT Pi5 RTL8125 ESP32-P4-ETH RJ45 POE DSI/MIPI 10.1 inch LCD Display Touchscreen/CSI Camera/Audio Speaker AI Deepseek here User Guide RTL8723 WIFI SDIO Expansion Module Board For Luckfox Pico Mini B /Luckfox Pico Plus /Luckfox Pico Pro /Luckfox Pico Max 8.8inch LCD 1920x480 Computer PC Monitor Display Secondary Screen TypeC USB CPU RAM