#RaspberryPi Pico: Working OLED

OK, so I’ve finally got a 128×64 SSD1306 OLED working in both MicroPython and the C++ SDK.

You’re probably best off cloning my git repo:

git clone https://github.com/blippy/rpi/tree/master/1306

Navigate to the relevant directory:

cd rpi/1306

MicroPython

Upload ssd1306.py s onto the Pico. Then, from Thonny (or whatever), connect to the Pico and run the demo program pico1306.py. Easy peasy.

C++ SDK

Do the following usual stuff:

cd pico-sdk
mkdir build
cd build
cmake ..

Then upload the uf2 file onto the board.

I’m assuming that you have the development environment set up correctly.

It supports an 8×8 font and drawing at pixels.

Have fun.

128×32 OLEDs are not yet supported. Stay tuned. OLEDs are quite nice devices. Small, and illuminated.

About mcturra2000

Computer programmer living in Scotland.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s