Playing with a DigiSpark & SSD1306 0.96" OLED

Examples, screenshots, graphics, fonts...
Post Reply
User avatar
Posts: 310
Joined: 15 Feb 2018, 23:32

Playing with a DigiSpark & SSD1306 0.96" OLED

Post by Phil_G » 09 Sep 2019, 23:16

I was just browsing stuff and happened across this: ... at-Things/
Its a simplified OLED library for the 0.96" OLEDs for the DigiSpark or any ATTiny85, minimalised to preserve memory on the ATTiny85. For text, it has only one font which is 5x7, so quite small to read but very clear, you get 20 characters by 8 lines, four lines if double spaced.




Just thought it was a handy library worth saving, great for DigiSpark projects.

As with most of these libraries, theres no documentation so you have to work out how to use it. I've sussed the graphics format, basically its vertical bytes from top left, across left to right, next row, etc to bottom right, with the msb of each byte at the bottom. Taking the thermometer as an example


(this took me ages to draw!):


You can create a new graphic using PaintShop Pro or similar, actual size, two-colour, then import it into the excellent conversion utility that Max found the other day:


Post Reply