Update clock_screensaver.py
This commit is contained in:
parent
9684beaf92
commit
8faef9c7a7
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user