Artemis Development with the Arduino IDE

Contributors: santaimpersonator, Liquid Soulder, Member #1571936
Favorited Favorite 3

I2C: Qwiic OLED Display

The I2C pins are useful connecting to peripheral devices. In this example, let's use the Qwiic OLED Display and the example code from the online tutorial.

SparkFun Qwiic OLED Display (0.91 in., 128x32)

9 Retired

The hookup guide direct users through the installation of the associated Arduino libraries. Once the library is installed, follow the instructions from the online tutorial to get the example up and running.

Note: In the Apollo3 Arduin core, the Wire library (for the I2C communication) is configured to use the dedicated I2C pins attached to a board's Qwiic connector, by default.


Users should be familiar with our Qwiic system. Here is a link to our Qwiic cable kit, if necessary.


This example display various patterns across the display. Follow the steps for programming the associated board to see the code in action.

oled demo
The Zio OLED display running with the example code from their online tutorial.

Configuring Peripheral I2C Ports/Pins

In order for users to understand how to adapt their code to configure the peripheral I2C ports, we have provided the following example for the Apollo3 core: File > Examples > Apollo3 > I2C.

I2C example
Built-in I2C example for the Apollo3 core. (Click to enlarge)