Skip to content

PerfecXX/MicroPython-SSD1306

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MicroPython SSD1306

Version License

MicroPython Library for SSD1306 OLED Displays with some simple shape drawing functions.

Installation

  • Manual Installation
    • Upload the ssd1306.py file to your device.
  • Thonny IDE Package Manager
    • Open Thonny IDE.
    • Go to Tools > Manage Packages.
    • Search for micropython-ssd1306-driver and install it.

Example Usage

Quick Example

# Import Library
from ssd1306 import SSD1306_I2C
from machine import Pin,SoftI2C

# Pin Setup
i2c = SoftI2C(scl=Pin(22), sda=Pin(21))
oled = SSD1306_I2C(128, 64, i2c)

# Text Display (Text,x,y,color)
oled.text("Hello Wolrd!",0,0,1)
oled.show()

Useful Link & Tools

About

MicroPython Library for SSD1306 OLED Displays with some simple shape drawing functions.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages