Merge pull request #299 from mikeysklar/wait-for-display

wait for display
This commit is contained in:
Tyeth Gundry
2025-12-05 14:37:54 +00:00
committed by GitHub
4 changed files with 9 additions and 0 deletions
Vendored
BIN
View File
Binary file not shown.
@@ -60,6 +60,9 @@ static const unsigned char PROGMEM logo_bmp[] =
void setup() {
Serial.begin(9600);
// Wait for display
delay(500);
// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
if(!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
Serial.println(F("SSD1306 allocation failed"));
@@ -60,6 +60,9 @@ static const unsigned char PROGMEM logo_bmp[] =
void setup() {
Serial.begin(9600);
// Wait for display
delay(500);
// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
if(!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
Serial.println(F("SSD1306 allocation failed"));
@@ -60,6 +60,9 @@ static const unsigned char PROGMEM logo_bmp[] =
void setup() {
Serial.begin(9600);
// Wait for display
delay(500);
// SSD1306_SWITCHCAPVCC = generate display voltage from 3.3V internally
if(!display.begin(SSD1306_SWITCHCAPVCC, SCREEN_ADDRESS)) {
Serial.println(F("SSD1306 allocation failed"));