Add brightness

This commit is contained in:
Joan
2025-12-31 12:57:05 +01:00
parent 25de6dfd55
commit 2de3439a48

View File

@@ -88,7 +88,7 @@ class Matrix64Display(SampleBase):
try:
brightness = get_brightness()
if brightness:
self.matrix.brightness = int(float(brightness)) / 10
self.matrix.brightness = int(float(brightness)) / 10 + 1
except Exception as e:
self.matrix.brightness = 5