diff --git a/examples/ht16k33_animation_demo.py b/examples/ht16k33_animation_demo.py index f80f1d8..509ad8a 100644 --- a/examples/ht16k33_animation_demo.py +++ b/examples/ht16k33_animation_demo.py @@ -14,6 +14,7 @@ # Initialize the I2C bus 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) display.brightness = 0.3 diff --git a/examples/ht16k33_segments_14x4_demo.py b/examples/ht16k33_segments_14x4_demo.py index ca34936..db11fc4 100644 --- a/examples/ht16k33_segments_14x4_demo.py +++ b/examples/ht16k33_segments_14x4_demo.py @@ -9,7 +9,7 @@ # Display connected to STEMMA QT connector. display = segments.Seg14x4(board.STEMMA_I2C()) # Display connected to I2C pins. -# display = segments.Seg14x4(board.I2C()) +# display = segments.Seg14x4(board.I2C()) # uses board.SCL and board.SDA # This section displays four 0's across the display. The code shows four # different ways to use the set_digit_raw function. Each is labeled below.