> For the complete documentation index, see [llms.txt](https://cavedu.gitbook.io/linkit-7697/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cavedu.gitbook.io/linkit-7697/linkit-7697-development-guide-for-arduino-ide/tutorial/grove-oled-display-0.96-ssd1308z.md).

# Grove OLED Display 0.96" (SSD1308Z)

The OLED display 0.96" module is a monochrome 128x64 dot matrix OLED display module with the Grove compatible 4-pin I2C interface. Compared to LCD, OLED screens are more competitive with a number of advantages such as high brightness, self-emission, high contrast ratio, slim/thin outline, wide viewing angle, wide temperature range, and low power consumption. For complete specifications, please check [the official WiKi page](http://wiki.seeed.cc/Grove-OLED_Display_0.96inch/) of this component.

You can see how to download and install the driver by referring to:

* [How to install driver](https://docs.labs.mediatek.com/resource/linkit7697-arduino/en/grove-starter-kit)
* [Driver repository](https://github.com/MediaTek-Labs/linkit-7697-peripheral-drivers-for-arduino)

After the installation is done, follow the steps below to use this component.

### Setup and Execution <a href="#groveoleddisplay0.96-ssd1308z-setupandexecution" id="groveoleddisplay0.96-ssd1308z-setupandexecution"></a>

1. Connect the OLED module to the **I2C** header of the LinkIt 7697 breakout board.
2. Select the **File / Examples / OLED\_Display\_128X64-master / OLED\_Z\_Display\_Driver\_Test\_Suite** menu.
3. Click the **Upload** icon to compile and upload the sketch file to the board.

Then you should be able to see there are multiple demos displaying characters on the OLED display.

### Reference <a href="#groveoleddisplay0.96-ssd1308z-reference" id="groveoleddisplay0.96-ssd1308z-reference"></a>

If you're using sources from the repositories of module vendors:

* [the driver](https://github.com/Seeed-Studio/OLED_Display_128X64) for OLED Display 0.96"

Please follow the steps to modify the codes for making it available to the LinkIt 7697:

1. Open the **SeeedOLED.cpp** file in the library folder.
2. Comment out the **line 28** as below:

   ```
   #include "Wire.h" 
   #include "SeeedOLED.h" 
    
   //#include <avr/pgmspace.h> 

   // 8x8 Font ASCII 32 - 127 Implemented
   ```
3. Save the file.
4. Edit the **OLED\_Z\_Display\_Driver\_Test\_Suite.ino** to comment out **line 3** as below:

   ```
   #include <Wire.h> 
   #include <SeeedOLED.h> 
   //#include <avr/pgmspace.h>
   ```
5. Save the file.
