gpio_slowdown changed to 2 to fix led pixel bug

This commit is contained in:
Justin 2022-04-11 23:24:59 +08:00 committed by GitHub
parent 6d6e76d38b
commit 972af42fd7
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.parallel = 1
options.hardware_mapping = 'adafruit-hat' # If you have an Adafruit HAT: 'adafruit-hat'
options.gpio_slowdown = 4
options.gpio_slowdown = 2
options.brightness = self.brightness
self.matrix = RGBMatrix(options = options)