OLED Display Not working, Arduino Nano ESP32 S3

Trying to figure out why no text is being displayed at all

I have tried code from other people, from the book I have, from AI, and I cant figure out why its not working. I started using arduino today, and found if fun when I was trying out the different electrical components and making circuts, but I dont get why this isnt working. The code uploads successfully, but nothing is displayed. The following specs are

0.96 Inch OLED I2C IIC Display Module 128x64 Pixel SSD1306 Mini Self-Luminos OLED Screen

I have GRD connected to ground

I have VCC connected to 5V VBUS

I have SCL connected to A5

I have SDA connected to A4

The Code I am running is

#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>


#define SW 128
#define SH 64


Adafruit_SSD1306 display(SW, SH, &Wire, -1);


void setup() {


display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(WHITE);
display.setCursor(10, 10);
display.println("Hello World");
display.display();



}


void loop() {
  
}

I have tried both 0x3C and 0x3D

I have tried to find stuff regarding NANO ESP32 S3, but I have not been able to, not sure what is going wrong, thanks for any help

Posted Jul 3, 2026, 6:25 PM UTC

64
Loading comments…