How adafruit/adafruit_sh110x works
This is an Arduino driver library for monochrome SH1106G/SH1107 OLEDs. An application initializes a model-specific display, uses inherited Adafruit_GFX drawing operations to update its RAM buffer, then calls display() to transfer changed pixels over I2C or SPI. The model drivers provide initialization sequences; shared SH110X code handles buffered refresh. The README documents the Adafruit_GFX dependency. The examples are not mapped as product components; implementation details are based on the sampled source excerpts.
Main entry points: Adafruit_SH110X.cpp SH110X refresh · Adafruit_SH1106G.cpp SH1106G driver · Adafruit_SH1107.cpp SH1107 driver · Adafruit_SH110X.h SH110X API
Components 9
Other components
- Arduino application
- SH1106G driver
Adafruit_SH1106G.cpp - SH1107 driver
Adafruit_SH1107.cpp - SH110X refresh
Adafruit_SH110X.cpp - SH110X API
Adafruit_SH110X.h - Adafruit_GFX
- Splash bitmap data
splash.h - I2C bus
- SPI bus
Connections 12
- Arduino application → SH1106G driver: initializes and draws
Adafruit_SH1106G.cpp - Arduino application → SH1107 driver: initializes and draws
Adafruit_SH1107.cpp - Arduino application → SH110X refresh: refreshes buffer
Adafruit_SH110X.cpp - SH1106G driver → SH110X API: implements
Adafruit_SH110X.h - SH1107 driver → SH110X API: implements
Adafruit_SH110X.h - SH110X API → Adafruit_GFX: extends
Adafruit_SH110X.h - SH1106G driver → SH110X refresh: inherits and configures
Adafruit_SH1106G.cpp - SH1107 driver → SH110X refresh: inherits and configures
Adafruit_SH1107.cpp - SH1106G driver → Splash bitmap data: draws bitmap
Adafruit_SH1106G.cpp - SH1107 driver → Splash bitmap data: draws bitmap
Adafruit_SH1107.cpp - SH110X refresh → I2C bus: writes display data
Adafruit_SH110X.cpp - SH110X refresh → SPI bus: writes display data
Adafruit_SH110X.cpp