changed gpio slowdown and added updating for merge with master

This commit is contained in:
Neythen Treloar 2022-03-07 19:56:09 +00:00
parent e8ce635312
commit 17cbb63af2
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@ import sys
#api_caller.sendline('A')
#os.system("sudo ./check_update.sh")
os.system("./check_update.sh")
displaying_screensaver = False
uploading = False

View File

@ -57,7 +57,7 @@ class StockTicker():
options.chain_length = 2
options.parallel = 1
options.hardware_mapping = 'adafruit-hat' # If you have an Adafruit HAT: 'adafruit-hat'
options.gpio_slowdown = 4
options.gpio_slowdown = 1
options.brightness = self.brightness
self.matrix = RGBMatrix(options = options)
print(dir(self.matrix))
@ -1208,8 +1208,8 @@ class StockTicker():
image_list.append(self.blank)
except Exception as e:
print(e)
#raise e
print(str(e))
exc_type, exc_obj, exc_tb = sys.exc_info()
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
self.logf.write(str(e))