#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Wire.h>
int x = 128;
int y = 64;
int reset = 1;
Adafruit_SSD1306 oled(x, y, &Wire, reset);
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
if(!oled.begin(SSD1306_SWITCHCAPVCC, 0x3c)){
Serial.print("Connection Failed!");
while(true);
}
oled.clearDisplay();
}
void loop() {
// put your main code here, to run repeatedly:
oled.setTextSize(2);
oled.setTextColor(WHITE);
oled.setCursor(20,20);
oled.print("Robotics");
oled.display();
}