#include <SSD1306Wire.h>
#include <Wire.h>
#include <
SSD1306Wire oled(0x3c, 35, 42);
void setup() {
// put your setup code here, to run once:
oled.init();
oled.flipScreenVertically();
Serial.begin(115200);
Serial.println("Hello, ESP32-S3!");
}
void loop() {
// put your main code here, to run repeatedly:
oled.clear();
static int ti = 1;
char str[80];
oled.drawString(5, 5, "Time:");
snprintf(str, sizeof(str), "%d", ti);
ti++;
oled.drawString(5, 12, str);
oled.display();
delay(10); // this speeds up the simulation
}
Loading
esp32-s3-devkitc-1
esp32-s3-devkitc-1