From 79015ec7d146161954e1b202ddc510e13ecdd854 Mon Sep 17 00:00:00 2001 From: Justin Date: Wed, 23 Aug 2023 23:04:15 +0800 Subject: [PATCH] if conway --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index fca9c95..a006088 100755 --- a/server.py +++ b/server.py @@ -1140,7 +1140,7 @@ def screensaver(): screensaver_p = pexpect.spawn("sudo ./demo --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=128 -D 9") elif "Evolution of Color" in data: screensaver_p = pexpect.spawn("sudo ./demo --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=128 -D 10 -m 100") - elif "Conway's Game of Life" in data: + elif "Conway" in data: screensaver_p = pexpect.spawn("sudo ./demo --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=128 -D 7 -m 100") elif "Abelian Sandpile Model" in data: screensaver_p = pexpect.spawn("sudo ./demo --led-gpio-mapping=adafruit-hat --led-rows=32 --led-cols=128 -D 6")