• 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: 4 inch e Paper HAT+ E Ink Spectra E6 Full-Color 600x400 Screen Display For Arduino /Raspberry Pi /Jetson Nano /STM32 Luckfox Pico SPI Raspberry Pi 5 TTL Raspberry Pi Autofocus Camera electronic Tag LuckFox Pico Raspberry Pi 6.25 inch DSI Display MIPI LCD Capacitive TouchScreen 720x1560 Sensor Raspberry Pi 5 RTC charge configuration Sipeed MaixCAM SG2002 RISC-V AI Camera Kit with Screen Audio WIFI6 Linux Board 2.8inch Round LCD USB Monitor Computer Monitor Display Screen USB Type C Secondary Screen PC CPU GPU 1.54inch OLED user guide Raspberry Pi PCM5122 I2S DAC HIFI Sound Card DAC Audio expansion Board Free-Driver For PI5/PI4/Zero Raspberry Pi Pico 2 RP2350 3.5 inch LCD Capacitive 3.5inch TouchScreen Development Board 240x320 Display QMI8658 6-Axis /OV5640 Camera /SD Modbus POE ETH Relay Waveshare User Guide LCD1602 I2C Module PWM Adjustable backlight 3.3V/5V For Arduino/ Raspberry Pi/ Pico/ Jetson Nano/ ESP32 ESP32-S3 GEEK spotpear Raspberry Pi Camera OV5647 Camera (F) Raspberry Pi 5