wait for display

500ms delay on startup for i2c displays. The Feather ESP32-C6 required this and I suspect a few other boards.
This commit is contained in:
Mikey Sklar
2025-11-18 15:00:48 -08:00
parent 03c96dba96
commit 75f9703a79
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"));