Skip to content

Commit 07b0f41

Browse files
committed
minor code comment update
noticed display brightness code comment said brightness was 0-15. unsure when/where that was valid. pretty sure it's 0.0 to 1.0 across all segment types now.
1 parent 4daa5ba commit 07b0f41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/ht16k33_animation_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
i2c = board.I2C() # uses board.SCL and board.SDA
1717
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
1818
display = Seg14x4(i2c, auto_write=False)
19-
# Brightness of the display (0 to 15)
19+
# Brightness of the display (0.0 to 1.0)
2020
display.brightness = 0.3
2121

2222
ani = Animation(display)

0 commit comments

Comments
 (0)