Update clock_screensaver.py

This commit is contained in:
Justin 2023-08-23 21:21:37 +08:00 committed by GitHub
parent 9684beaf92
commit 8faef9c7a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,7 +21,7 @@ options.chain_length = 1
options.parallel = 1 options.parallel = 1
options.hardware_mapping = 'adafruit-hat' # Change this if you have a different GPIO mapping options.hardware_mapping = 'adafruit-hat' # Change this if you have a different GPIO mapping
options.gpio_slowdown = 2 options.gpio_slowdown = 2
options.brightness = int(settings['brightness']*10) options.brightness = int(settings['brightness'])*10
# Create the RGBMatrix object # Create the RGBMatrix object
matrix = RGBMatrix(options=options) matrix = RGBMatrix(options=options)