Update stockTicker.py

This commit is contained in:
Neythen Treloar 2022-02-21 19:54:12 +00:00 committed by GitHub
parent a4f2ee1cfa
commit 1f3ad2be31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ class StockTicker():
options.chain_length = 2 options.chain_length = 2
options.parallel = 1 options.parallel = 1
options.hardware_mapping = 'adafruit-hat' # If you have an Adafruit HAT: 'adafruit-hat' 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 options.brightness = self.brightness
self.matrix = RGBMatrix(options = options) self.matrix = RGBMatrix(options = options)
print(dir(self.matrix)) print(dir(self.matrix))