Hello, I’m trying to get an I²C OLED display working on my custom RP2040 keyboard, but nothing is showing on it.
The keyboard should be wired correctly — I tested the OLED with a small MicroPython script on the same pins and it worked, so the display itself and wiring are fine.
the MicroPython script I used:
from machine import Pin, I2C
from ssd1306 import SSD1306_I2C
import time
i2c = I2C(0, scl=Pin(1, Pin.PULL_UP), sda=Pin(0, Pin.PULL_UP), freq=400000)
devices = i2c.scan()
print("I2C devices found:", devices)
oled = SSD1306_I2C(128, 32, i2c)
oled.fill(1)
oled.show()
while True:
time.sleep(1)
Any advice or guidance would be greatly appreciated — thank you in advance!