#include <SPI.h>
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define screen_width 128
#define screen_height 64
Adafruit_SSD1306 display(screen_width,screen_height,&Wire,-1);

void setup() {
  // put your setup code here, to run once:
  Serial.begin(115200);
  if (!display.begin(SSD1306_SWITCHCAPVCC,0x3C)){
    Serial.println(F("SSD1306 allocation filled"));
    for (;;);

  }
  delay(2000);
  

  Serial.println("Hello, ESP32!");
}

void loop() {
  // put your main code here, to run repeatedly:
  display.clearDisplay();
  display.drawCircle(50,30,30,WHITE);
  
  display.display();

  delay(1000); // this speeds up the simulation
  display.clearDisplay();
  display.fillCircle(50,30,30,WHITE);
  display.display();
  delay(1000);
  


}