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

View File

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