fix screensavers
This commit is contained in:
parent
b9a1316a0e
commit
f7581a58ab
@ -352,13 +352,13 @@ def screensaver():
|
||||
|
||||
|
||||
if "Pulsating Colors" in data:
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 ./rpi-rgb-led-matrix/bindings/python/samples/pulsing-colors.py")
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 ./rpi-rgb-led-matrix/bindings/python/samples/pulsing-colors.py --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 -r 32 --led-cols 64 -c 2 -P 1")
|
||||
|
||||
elif "Rotating Square" in data:
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 ./rpi-rgb-led-matrix/bindings/python/samples/rotating-block-generator.py")
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 ./rpi-rgb-led-matrix/bindings/python/samples/rotating-block-generator.py --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 -r 32 --led-cols 64 -c 2 -P 1")
|
||||
|
||||
elif "Pulsating brightness" in data:
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 ./rpi-rgb-led-matrix/bindings/python/samples/pulsing-brightness.py")
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 ./rpi-rgb-led-matrix/bindings/python/samples/pulsing-brightness.py --led-gpio-mapping=adafruit-hat --led-slowdown-gpio=4 -r 32 --led-cols 64 -c 2 -P 1")
|
||||
|
||||
elif "Game of Life" in data:
|
||||
screensaver_p = pexpect.spawn("sudo -E python3 game_of_life.py")
|
||||
|
Loading…
Reference in New Issue
Block a user