Suggested update in kmk/extensions/oled.py
Co-authored-by: regicidal.plutophage <36969337+regicidalplutophage@users.noreply.github.com>
This commit is contained in:
parent
202a1f2791
commit
46be1fe0c6
@ -116,7 +116,7 @@ class Oled(Extension):
|
|||||||
|
|
||||||
def during_bootup(self, board):
|
def during_bootup(self, board):
|
||||||
displayio.release_displays()
|
displayio.release_displays()
|
||||||
i2c = busio.I2C(board.SCL, board.SDA)
|
i2c = busio.I2C(keyboard.SCL, keyboard.SDA)
|
||||||
self._display = adafruit_displayio_ssd1306.SSD1306(
|
self._display = adafruit_displayio_ssd1306.SSD1306(
|
||||||
displayio.I2CDisplay(i2c, device_address=self._device_address),
|
displayio.I2CDisplay(i2c, device_address=self._device_address),
|
||||||
width=self._width,
|
width=self._width,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user