//https://github.com/ThingPulse/esp8266-oled-ssd1306

// PRUEBA LOGO GECKO
// WEMOS LOLIN32

#include "Wire.h"
#include "SSD1306.h"
//#include "logo.h"
#define boton1 touchRead(T3)  // abajo
#define boton2 touchRead(T4)  // arriba
#define boton3 touchRead(T5)  // select

#define led 16  //  led en placa
SSD1306 display(0x3c, 5, 4);
byte bot1 = 73;
byte bot2 = 82;
byte bot3 = 85;  // sensivilidad
uint64_t  id=0;
//long mac=114974864325128;
byte x = 1;  //  para scroll logo

void setup() {
  pinMode(led, OUTPUT);
  digitalWrite(led, HIGH);  // apago led
  Serial.begin(115200);

  display.init();
  display.flipScreenVertically (); //  descomentar para la placa 18650
  display.clear();
  //display.setColor(BLACK);
  //display.setBrightness(0);
  delay(200);
  /*x = 128;
  for (byte i = 0; i < 8; i++) {
    display.drawXbm(x, 0, ancho, alto, LOGO);
    x = x / 2;
    display.display();
    delay(100);
    display.clear();
  }
  display.drawXbm(0, 0, ancho, alto, LOGO);
  display.display();
  delay(2000);
  
  x = 1;
  for (byte i = 0; i < 8; i++) {
    display.drawXbm(x, 0, ancho, alto, LOGO);
    x = x * 2;
    display.display();
    delay(80);
    display.clear();
  }
  */
    display.setFont(ArialMT_Plain_16);
  display.drawString(0, 10, "GeckoResetter");
  display.drawString(0, 27, "Ricoh chip");
  display.drawString(0, 42, "Ver. 1.02");
  //display.setFont(ArialMT_Plain_10);
  //display.drawString(0, 52, String(mac));

  display.display();
  //display.displayOff();
  //display.displayOn();
 delay(720);
   display.clear();

  display.setFont(ArialMT_Plain_10);
display.drawString(108, -1, "WIFI");
  display.fillRect(2, 2, 3, 4);
display.drawRect(0, 0, 15, 8);
  display.display();

}


void loop() {
}
Loading
ssd1306