Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Added commented out board.STEMMA_I2C with explanation
  • Loading branch information
evaherrada committed Nov 18, 2022
commit 62d0f534479e55b72c76c9db54049e36dbd377c5
3 changes: 2 additions & 1 deletion examples/is31fl3731_keybow_2040_rainbow.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ def hsv_to_rgb(hue, sat, val):
return (val, p, q)


i2c = board.I2C()
i2c = board.I2C() # uses board.SCL and board.SDA
# i2c = board.STEMMA_I2C() # For using the built-in STEMMA QT connector on a microcontroller

# Set up 4x4 RGB matrix of Keybow 2040
display = Display(i2c)
Expand Down
3 changes: 2 additions & 1 deletion examples/is31fl3731_pillow_animated_gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
# uncomment next line if you are using Pimoroni Scroll Phat HD LED 17 x 7
# from adafruit_is31fl3731.scroll_phat_hd import ScrollPhatHD as Display

i2c = board.I2C()
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 = Display(i2c)

Expand Down
3 changes: 2 additions & 1 deletion examples/is31fl3731_pillow_marquee.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
SCROLLING_TEXT = "You can display a personal message here..."
BRIGHTNESS = 64 # Brightness can be between 0-255

i2c = board.I2C()
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 = Display(i2c)

Expand Down
3 changes: 2 additions & 1 deletion examples/is31fl3731_pillow_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@

BRIGHTNESS = 32 # Brightness can be between 0-255

i2c = board.I2C()
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 = Display(i2c)

Expand Down