From 07b0f41d51798ab3c21091e40a175bdf41463ad4 Mon Sep 17 00:00:00 2001 From: DJDevon3 <49322231+DJDevon3@users.noreply.github.com> Date: Thu, 7 Mar 2024 04:58:24 -0500 Subject: [PATCH] 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. --- examples/ht16k33_animation_demo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/ht16k33_animation_demo.py b/examples/ht16k33_animation_demo.py index 509ad8a..26b643c 100644 --- a/examples/ht16k33_animation_demo.py +++ b/examples/ht16k33_animation_demo.py @@ -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)