update
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
/*
|
||||
|
||||
__ __ _ _____ ____ _____ __
|
||||
| \/ | / \|_ _| _ \|_ _\ \/ /
|
||||
| |\/| | / _ \ | | | |_) || | \ /
|
||||
| | | |/ ___ \| | | _ < | | / \
|
||||
|_| |_/_/ \_\_| |_| \_\___/_/\_\
|
||||
|
||||
Script to display a simple text on the matrix LED
|
||||
sudo /var/www/moduleair_pro_4g/matrix/test_text --led-no-hardware-pulse
|
||||
sudo /var/www/moduleair_pro_4g/matrix/test_text
|
||||
|
||||
Pour compiler:
|
||||
g++ -Iinclude -Llib test_text.cc -o test_text -lrgbmatrix
|
||||
@@ -25,7 +32,9 @@ 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 color1(255, 0, 0); // Red color for the first line
|
||||
rgb_matrix::Color color2(0, 0, 255); // Blue color for the second line
|
||||
|
||||
Reference in New Issue
Block a user