Displaying bitmap graphics on OLED

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
User avatar
deshipu
Posts: 1348
Joined: Thu May 28, 2015 5:54 pm

Re: Displaying bitmap graphics on OLED

Post by deshipu » Sat Jul 01, 2017 9:10 pm

You don't need to translate it, I originally wrote that driver for MicroPython, you can find that version here: https://github.com/adafruit/micropython ... gb-display

You will need MicroPython version older than 1.9.1, because in 1.9.1 the machine API is broken and won't work with this driver.

newb
Posts: 28
Joined: Wed Jan 10, 2018 8:19 pm
Location: Bulgaria

Re: Displaying bitmap graphics on OLED

Post by newb » Wed Jan 10, 2018 8:26 pm

Apologies for reviving this thread. I was looking for options to show image on my esp8266+ssdl1303 (i2c) running micropython and came up with this thread. Googling further, I found URL where you can upload a b/w image and convert it to hex which you can use with the example above.

It works well, you just need to change the framebuffer parameter to framebuf.MONO_HLSB.

Here's the link: http://www.digole.com/tools/PicturetoC_ ... verter.php

Post Reply