Thank you very much, I was not aware of that bit of info. There weren’t any Micro python examples for it, so I just assumed it hadn’t been ported over to Micro python yet.
This got me Hello World
Is that the correct way to set the pen, as this display only has the one color?
from picographics import PicoGraphics, DISPLAY_I2C_OLED_128X128
from pimoroni_i2c import PimoroniI2C
i2cbus = PimoroniI2C(4, 5)
display = PicoGraphics(display=DISPLAY_I2C_OLED_128X128, bus=i2cbus)
display.clear()
display.set_font("bitmap8")
display.set_pen(15) # White
display.text("Hello World", 0, 0, scale=2)
display.update()
I reckon so, I think that’s how the other displays that use PEN_1BIT work. It might try and dither the black and white if you use set_pen with numbers in between 1 and 14, like Inky Pack / Badger?
It’s working, just seemed weird entering (15) instead of (255, 255, 255).
Works with my Pico Breakout Garden and my Pico W Explorer. Does not want to work with my Pico Inventor, the device I bought it for? All, as far as I know are running 120.6.
I’ll flash nuke it reflash it and have another go in a bit. Need to take a little break first.
Thanks for pointing me in the right direction. =)
Fabbed up a custom 4 socket i2c attachment board that plugs into the QWICC connector. And plugged that into my Pico W Explorer. Then played with the code a little.