![]() |
SparkFun SSD168x Library
v1.0.2
Library for SSD1680 / SSD1681 e-paper displays on SPI
|
#include "sfe_platform.h"#include "sfe_bus.h"#include "sfe_debug.h"#include "qwiic_ssd1680_184x88.h"#include "qwiic_ssd1681_200x200.h"#include "qwiic_ssd1680_custom.h"#include "qwiic_ssd1681_custom.h"#include "qwiic_ssd1680_184x88_rotated.h"Go to the source code of this file.
Classes | |
| class | SSD168xSPIBaseClass< DeviceType > |
| The templated base class for all SSD168x SPI e-Paper displays. More... | |
| class | SSD1680SPI184x88 |
| A 184x88 SSD1680 e-Paper display (e.g. GoodDisplay GDEM0097T61) - portrait: 88 pixels wide, 184 pixels high. More... | |
| class | SSD1681SPI200x200 |
| A 200x200 SSD1681 e-Paper display (e.g. GoodDisplay GDEY0154D67). More... | |
| class | SSD1680SPICustom |
| A custom-sized SSD1680 e-Paper display. Call the set methods before begin(). More... | |
| class | SSD1681SPICustom |
| A custom-sized SSD1681 e-Paper display. Call the set methods before begin(). More... | |
| class | SSD1680SPI184x88Rotated |
| A 184x88 SSD1680 e-Paper display (e.g. GoodDisplay GDEM0097T61) - rotated to landscape: 184 pixels wide, 88 pixels high. More... | |
Typedefs | |
| typedef QwEpFont | QwiicEpFont |
| typedef QwEpBitmap | QwiicEpBitmap |
| typedef Print | SSD168xPrintBase |
SPDX-License-Identifier: MIT
Please see LICENSE.md for more details
A library to control SSD1680/1 e-Paper displays via SPI
Original I2C version by Paul Clark @ SparkFun Electronics, April 2026 SPI rework by Claude, directed by Paul Clark @ SparkFun Electronics, November 2026
https://github.com/sparkfun/SparkFun_SSD168x_Library
The SSD1680/1 is connected using a 4-wire SPI interface plus two GPIO pins:
SCLK SPI clock SDIN SPI data in (PICO / MOSI). The SSD168x does not use POCI (MISO) CS# Chip select - active low. Driven by the library D/C# Data / command select. Low for command bytes, high for data / parameter bytes. Driven by the library RES# Reset - active low. Driven by the library. Optional: if not connected, a software reset is used BUSY Busy - high while the SSD168x is busy. Read by the library
The CS#, D/C#, RES# and BUSY pins are passed to begin(). The SPI bus can be shared with other devices.
Arduino: SPI.begin(); // (ESP32: SPI.begin(SCLK, POCI, PICO);) myDisplay.begin(CS, DC, RES, BUSY); // Uses SPI at 4MHz. Optionally pass the SPI port and clock speed too
ESP-IDF: spi_bus_initialize(SPI2_HOST, &busConfig, SPI_DMA_CH_AUTO); myDisplay.begin(SPI2_HOST, CS, DC, RES, BUSY); // Optionally pass the clock speed too
| typedef QwEpBitmap QwiicEpBitmap |
| typedef QwEpFont QwiicEpFont |
| typedef Print SSD168xPrintBase |