Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SSD1306 OLED Controller example for SAM D21 Xplained Pro Documentation

Introduction

This simple example shows how to use the SSD1306 OLED Controller Low-level driver for interfacing the SSD1306 controller

Main files:

SSD1306 low level driver API

The SSD1306 low level driver API can be found here.

Device Info

All devices with a SPI can be used.

Note
Parallel interface is also possible, but not currently supported by the driver.

Description of the example

The display is initialized and a pattern with alternating lines are drawn to the entire screen. After this the screen is scrolled line by line using the hardware scrolling function available in the LCD controller.

Compilation Info

This software was written for the GNU GCC and IAR. Other compilers may or may not work.

Contact Information

For further information, visit Microchip.