Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

SSD1306 OLED Display example

Basic test for an I2C driven ssd1306 OLED display

You must upload the ssd1306.py module to the board in order to use the included code examples

To test if we have a functional connection with the display (or any i2c device), the following lines will do the trick

from machine import Pin, SoftI2C
i2c = SoftI2C(scl=Pin(22), sda=Pin(21))
i2c.scan()

oledHello.py is included in this repository as a very minimal code to show simple text on the screen

Hookup guide:

schematic

The ssd1306.py module was written by Alex Newton and published at the following link: how2electronics-ssd1306