We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6c2f84d + 19030c6 commit e7028dcCopy full SHA for e7028dc
README.rst
@@ -64,14 +64,15 @@ Usage Example
64
import displayio
65
import terminalio
66
import bitmap_label as label # from adafruit_display_text
67
+ from i2cdisplaybus import I2CDisplayBus
68
import adafruit_displayio_sh1107
69
70
displayio.release_displays()
71
#oled_reset = board.D9
72
73
# Use for I2C
74
i2c = board.I2C()
- display_bus = displayio.I2CDisplay(i2c, device_address=0x3C)
75
+ display_bus = I2CDisplayBus(i2c, device_address=0x3C)
76
77
# SH1107 is vertically oriented 64x128
78
WIDTH = 128
0 commit comments