This commit is contained in:
Your Name
2025-03-26 17:17:40 +01:00
parent d0e1ad18e9
commit 76a676925d
10 changed files with 283 additions and 18 deletions

View File

@@ -1,4 +1,12 @@
/*
__ __ _ _____ ____ _____ __
| \/ | / \|_ _| _ \|_ _\ \/ /
| |\/| | / _ \ | | | |_) || | \ /
| | | |/ ___ \| | | _ < | | / \
|_| |_/_/ \_\_| |_| \_\___/_/\_\
Script to display a simple square on the matrix LED
sudo /var/www/moduleair_pro_4g/matrix/test_forms --led-no-hardware-pulse
@@ -25,7 +33,10 @@ int main(int argc, char *argv[]) {
defaults.row_address_type = 3;
defaults.show_refresh_rate = true;
defaults.brightness = 100;
defaults.pwm_bits = 1;
defaults.panel_type = "FM6126A";
defaults.disable_hardware_pulsing = false;
rgb_matrix::Color red(255, 0, 0); // Red color
rgb_matrix::Color bg_color(0, 0, 0); // Background color (black)