The latest development version of this page may be more current than this released 2.1.0 version.

SSD1306 128x64 pixels generic shield

Overview

This is a generic shield for 128x64 pixel resolution OLED displays based on SSD1306 controller. These displays have an I2C interface and usually only four pins: GND, VCC, SCL and SDA. Display pins can be connected to the pin header of a board using jumper wires.

Requirements

This shield can only be used with a board which provides a configuration for Arduino connectors and defines a node alias for the I2C interface (see Shields for more details).

Programming

Set -DSHIELD=ssd1306_128x64 when you invoke west build. For example:

# From the root of the zephyr repository
west build -b frdm_k64f samples/gui/lvgl -- -DSHIELD=ssd1306_128x64