#include <Adafruit_SSD1306.h>
#define OLED_RESET -1 // -1: no reset pin, reset with CPU
Adafruit_SSD1306 display(OLED_RESET);
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
Serial.println("Hello, ESP32!");
display.begin(SSD1306_SWITCHCAPVCC, 0x3C);
// Clear the buffer.
display.clearDisplay();
display.setTextColor(WHITE);
display.setTextSize(2);
display.setCursor(0,20);
display.print("PFE");
display.display();
}
void loop() {
// put your main code here, to run repeatedly:
delay(10); // this speeds up the simulation
}