Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Library of OLED modules connect with SSD1306(I2C/SPI bus) by AZO

version: v1.0.2(Jan 6, 2021)
https://domisan.sakura.ne.jp/

Library of OLED modules connect with SSD1306(I2C/SPI bus).

Connect Arduino UNO as follow.

[I2C] 3.3V - VDD
GND - GND
A5 - SCK
A4 - SDA

[SPI] 3.3V - VDD
GND - GND
13 - SCK
11 - SDA
9 - RES
8 - DC
10 - CS

First contrast instance of class SSD1306_I2C or SSD1306_SPI.
Next call initialize(); and initDevice();
Then draw with drawPixel(); to framebuffer.
Finally call refresh(); to display from framebuffer.

Reference