More flexible apps

This commit is contained in:
deckensteuerung
2018-08-22 21:15:32 +02:00
parent 8b7a34956b
commit b822fb9c1c
2 changed files with 23 additions and 10 deletions

View File

@@ -1,3 +1,4 @@
import logging
#width
ScreenX = 24
@@ -9,12 +10,14 @@ Serial = "/dev/ttyACM0"
# kills app after some seconds if it sends no data
NoDataTimeout = 20
LogLevel = logging.DEBUG
UseGui = True
GuiScaleFactor = 10
# first app is always running in IDLE
Apps = [
{"name": "pixelflut", "cmd": "apps/idle.py", "permanent": True},
{"name": "framebuffer", "cmd": "apps/framebuffercp"},
{"name": "framebuffer", "cmd": ["apps/fbcp", "/dev/fb0"]},
{"name": "play_youtube", "cmd": "apps/play_youtube.sh"}
]