#include<Wire.h>
//#include<SPI.h>
//#include<Adafruit_SH1106.h>
//Adafruit_SH1106 OLED(-1);
#include<Adafruit_GFX.h>//Wokwi
#include<Adafruit_SSD1306.h>//Wokwi
Adafruit_SSD1306 OLED(128,64,&Wire,-1);//Wokw

int x;

void setup() {
//  OLED.begin(SH1106_SWITCHCAPVCC,0x3c);
  OLED.begin(SSD1306_SWITCHCAPVCC,0x3c);//Wokwi
}

void loop() {
  // put your main code here, to run repeatedly:
  OLED.clearDisplay();
  OLED.setTextColor(WHITE,BLACK);
  OLED.setCursor(0,0);
  OLED.setTextSize(2);
  OLED.println("IOT");
  OLED.setTextSize(1);
  OLED.print("Laboratory");
  OLED.println(" 2022");
  OLED.setTextColor(BLACK,WHITE);
  OLED.print("www.praphas.com");
  OLED.setTextColor(WHITE,BLACK);
  OLED.setCursor(60,0);
  OLED.setTextSize(2);
  OLED.print("X = ");
  OLED.println(x);
  delay(100);
  OLED.display();
}