Skip to content

A micropython library with font size support for 128x64 pixel ssd1306 oled display

Notifications You must be signed in to change notification settings

kwankiu/ssd1306wrap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OLED Display Library for Micropython (ssd1306wrap)

A micropython library with font size support for 128x64 pixel ssd1306 oled display.

Based on ssd1306.py from micropython module.

Modifications based on ssd1306big by Nick Mulder

display demo gif

Connecting the OLED to microcontroller:

  • Rasberry Pi Pico (or RP2040) default I2C connections: SDA to GP8 and SCL to GP9.
  • ESP32 can be configured to any pins unless occuiped by USB or UART (e.g. IO18 and 19 are occupied on ESP32-C3)
  • Should works on ESP8266 as well but havent tested.

Additional features to the original ssd1306 library:

  • Set Font Size : Added a function wrap() that display text that can set different font size.

(wrap is based on a new, larger font was drawn using framebuffer lines by Nick Mulder.)

  • Bold Text Style : Added a function bold_text() that display text in bold style
  • Bold Text Style for wrap() : Added a function bold_wrap() that display wrap() in bold style
  • Overlap Text Style for wrap() : Added a function bold_wrap() that display wrap() in overlap (3D-like) style

(overlap values are 0=no overlap,1=one overlap,2=two overlap(default))

This library is open source, and can be used for free for any purpose.

example photo A through X example photo Y, Z, numbers and punctuation

About

A micropython library with font size support for 128x64 pixel ssd1306 oled display

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%