• 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: 3.52 inch e-Paper HAT B E Ink Red/Black/White 360x240 Screen Display For Arduino /Raspberry Pi /Jetson Nano /STM32 Raspberry Pi 5 Camera Raspberry Pi Pico GNSS expansion board L76K GPS Beidou (BDS) GLONASS QZSS A-GNSS For RP2040/RP2350 Product Tutorial Catalog How to use host device Power Manager Module X1010 Raspberry Pi 5 PCIe FFC Connector to Standard PCIe x4 Slot Expansion Board CH340 driver Raspberry Pi 5 5V5A Power AURORA AI Laser Radar And Dual Eye Camera IMU Integrated Positioning Map For Android/ROS+RoboStudio RP2040 Raspberry Pi 5 PCIe to 2.5G Ethernet Adapter Board Plug and Play PoE-M.2-HAT+B User Guide Raspberry Pi Pico 2 RP2350 bit board Size & Port high Compatible With BBC Micro:bit R7FA4 Plus A Board Based on R7FA4M1AB3CFM Compatible with Arduino UNO For R4 Minima EC200U C4-P01 Development Board QuecPython LTE Cat-1 Bluetooth GNSS Positioning Milk V ESP32-C6 WiFi 6 Development Board ESP32-C6-MINI-1Support WiFi6 Bluetooth5 Zigbee Thread Argon ONE V3 Case with FAN IR For Raspberry Pi 5 E-Paper Font Tutorial Jetson Orin 5G/4G/3G expansion board GNSS GPS SIM8260G-M2 SIM8262E-M2