Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Adafruit_SSD1306.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,9 @@ bool Adafruit_SSD1306::begin(uint8_t vcs, uint8_t addr, bool reset,
} else if ((WIDTH == 64) && (HEIGHT == 32)) {
comPins = 0x12; // ada x12
contrast = (vccstate == SSD1306_EXTERNALVCC) ? 0x10 : 0xCF;
} else if ((WIDTH == 64) && (HEIGHT == 48)) {
comPins = 0x12; // ada x12
contrast = (vccstate == SSD1306_EXTERNALVCC) ? 0x9F : 0xCF;
} else {
// Other screen varieties -- TBD
}
Expand Down
Loading