debug stuff

This commit is contained in:
2021-08-03 15:33:13 +02:00
parent b49c72a9bf
commit 0e3fb1d613
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ from luma.core.interface.serial import i2c, spi
from luma.core.render import canvas from luma.core.render import canvas
from luma.core import lib from luma.core import lib
from luma.oled.device import ssd1306, sh1106 from luma.oled.device import sh1106
from luma.core.sprite_system import framerate_regulator from luma.core.sprite_system import framerate_regulator
# load needed modules from RPi.GPIO # load needed modules from RPi.GPIO
+2 -1
View File
@@ -80,13 +80,14 @@ cleanup() {
msg "Finished! Remove SDcard" msg "Finished! Remove SDcard"
ps -ef | grep matrix | grep -v grep | awk '{print $2}' | xargs kill
} }
# --- copy all images ---------------------------------------------------- # --- copy all images ----------------------------------------------------
copyFiles() { copyFiles() {
#cleanup display and show copy screen #cleanup display and show copy screen
#python /home/pi/pi-imgtank/files/python-scripts/copy.py python /home/pi/PiDisplay/matrix.py &
# check if timestamp-file exists on SD-card. If not, create it # check if timestamp-file exists on SD-card. If not, create it
if [ ! -f "$mountdir/.last_img" ]; then if [ ! -f "$mountdir/.last_img" ]; then