Skip to content

Commit

Permalink
minor code comment update
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DJDevon3 committed Mar 7, 2024
1 parent 4daa5ba commit 07b0f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/ht16k33_animation_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller
display = Seg14x4(i2c, auto_write=False)
# Brightness of the display (0 to 15)
# Brightness of the display (0.0 to 1.0)
display.brightness = 0.3

ani = Animation(display)
Expand Down

0 comments on commit 07b0f41

Please sign in to comment.