• 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 Camera ESP32-S3FH4R2 X1300 X1300-A2 Raspberry Pi 5 HDMI to CSI-2 Shield 1080P@60fps & Audio & Video Also RS485 to RJ45 Raspberry Pi 5 PCM5122 I2S Audio Card DAC Also For PI4 /PI3 /Zero Series Jetson Orin Nano/NX Super Developer IO Base Development Board Dual network RJ45 For Jetson Orin Nano/NX Module Raspberry Pi 8.8 inch DSI MIPI Display LCD Capacitive TouchScreen 480x1920 Raspberry Pi 3 display HAT Raspberry Pi5 PCIe TO M.2 MINI Support Gen2 and Gen3 SSD Compatible 2230 2242 LuckFox Pico Industrial 8-ch PWM RS485 pulse output module Modbus RTU rail JETSON NANO MINI CAN FD Raspberry Pi 5 PCIe To M.2 E KEY NGFF WIFI7 WIFI6 For BE200/AX210/AX200/RTL8822CE ESP32 C5 Development Board 1.47 inch LCD Display Screen ST7789 For WiFi6/LVGL/HMI Onborad SD-Port/RGB-LED DeepSeek XiaoZhi AI Voice Chat Robot BOX ESP32-S3 Development Board 1.85 inch Round LCD N16R8 Raspberry Pi 3.7 inch e-Paper link (G) RYBW 416x240 For Arduino / Jetson Nano / STM32 Cyberpunk LED Matrix Hourglass Gravity Sensor DIY Countdown Timer Clock STEM Educational Soldering Project for Beginners & Adult R7FA4 PLUS B Development Board Based on R7FA4M1AB3CFM Compatible with Arduino UNO For R4 WiFi Raspberry Pi Autofocus Camera