Update peg_oled_display.py
This commit is contained in:
parent
3238857e1e
commit
b109cc2c4a
@ -123,9 +123,9 @@ class Oled(Extension):
|
||||
def on_runtime_disable(self, sandbox):
|
||||
return
|
||||
|
||||
def during_bootup(self, board):
|
||||
def during_bootup(self, keyboard):
|
||||
displayio.release_displays()
|
||||
i2c = busio.I2C(board.SCL, board.SDA)
|
||||
i2c = busio.I2C(keyboard.SCL, keyboard.SDA)
|
||||
self._display = adafruit_displayio_ssd1306.SSD1306(
|
||||
displayio.I2CDisplay(i2c, device_address=0x3C),
|
||||
width=self._width,
|
||||
|
Loading…
Reference in New Issue
Block a user