Skip to content
/ sh1107g Public

MicroPython driver for the Seeed GROVE OLED display 1.12" v2.2

License

Notifications You must be signed in to change notification settings

clci/sh1107g

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh1107g

MicroPython driver for the Seeed GROVE OLED display 1.12" v2.2

It is based on the MicroPython FrameBuffer class; it also limits the I2C bus usage by updating only the modified parts of the display.

Usage

Move the sh1107g.py file where your project can import it; instantiate the sh1107g.SH1107G class providing a I2C bus object. Draw using the FrameBuffer methods, and remember to call .update() or .update_all() to update the image on the display.

Running the example

The example_main.py contains a working main file for MicroPython; be sure to properly set the pins for I2C bus; I used a ESP32 board. It shows an animated analogue clock.

analogue clock

About

MicroPython driver for the Seeed GROVE OLED display 1.12" v2.2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages