$ sudo ./demo Expected required option -D <demo> usage: ./demo <options> -D <demo-nr> [optional parameter] Options: -D <demo-nr> : Always needs to be set -L : Large display, in which each chain is 'folded down' in the middle in an U-arrangement to get more vertical space. -R <rotation> : Sets the rotation of matrix. Allowed: 0, 90, 180, 270. Default: 0. -t <seconds> : Run for these number of seconds, then exit. --led-gpio-mapping=<name> : Name of GPIO mapping used. Default "regular" --led-rows=<rows> : Panel rows. 8, 16, 32 or 64. (Default: 32). --led-chain=<chained> : Number of daisy-chained panels. (Default: 1). --led-parallel=<parallel> : For A/B+ models or RPi2,3b: parallel chains. range=1..3 (Default: 1). --led-pwm-bits=<1..11> : PWM bits (Default: 11). --led-brightness=<percent>: Brightness in percent (Default: 100). --led-scan-mode=<0..1> : 0 = progressive; 1 = interlaced (Default: 0). --led-show-refresh : Show refresh rate. --led-inverse : Switch if your matrix has inverse colors on. --led-rgb-sequence : Switch if your matrix has led colors swapped (Default: "RGB") --led-pwm-lsb-nanoseconds : PWM Nanoseconds for LSB (Default: 130) --led-no-hardware-pulse : Don't use hardware pin-pulse generation. --led-slowdown-gpio=<0..2>: Slowdown GPIO. Needed for faster Pis and/or slower panels (Default: 1). --led-daemon : Make the process run in the background as daemon. --led-no-drop-privs : Don't drop privileges from 'root' after initializing the hardware. Demos, choosen with -D 0 - some rotating square 1 - forward scrolling an image (-m <scroll-ms>) 2 - backward scrolling an image (-m <scroll-ms>) 3 - test image: a square 4 - Pulsing color 5 - Grayscale Block 6 - Abelian sandpile model (-m <time-step-ms>) 7 - Conway's game of life (-m <time-step-ms>) 8 - Langton's ant (-m <time-step-ms>) 9 - Volume bars (-m <time-step-ms>) 10 - Evolution of color (-m <time-step-ms>) 11 - Brightness pulse generator Example: ./demo -t 10 -D 1 runtext.ppm Scrolls the runtext for 10 seconds