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 9b10e1ca2a6fa825b4af6cd13544a528380d4dd1
3 changes: 2 additions & 1 deletion examples/ssd1327_gamma.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
displayio.release_displays()

# Use for I2C
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_bus = displayio.I2CDisplay(i2c, device_address=0x3D)

# Use for SPI
Expand Down
3 changes: 2 additions & 1 deletion examples/ssd1327_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
displayio.release_displays()

# Use for I2C
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_bus = displayio.I2CDisplay(i2c, device_address=0x3D)

# Use for SPI
Expand Down