//www.diyusthad.com
#include <Wire.h>
#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#define OLED_RESET 4
Adafruit_SSD1306 display(128, 64, &Wire, OLED_RESET);
//Paste your bitmap here
const unsigned char myBitmap [] PROGMEM = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x55, 0x55, 0x55, 0x50, 0x2a, 0xaa, 0xaa, 0xa0, 0x55, 0x55, 0x55, 0x50,
0x2a, 0xaa, 0xaa, 0xa0, 0x55, 0x55, 0x55, 0x50, 0x2a, 0xaa, 0xaa, 0xa0, 0x55, 0x55, 0x55, 0x50,
0x2a, 0xaa, 0xaa, 0xa0, 0x55, 0x55, 0x55, 0x50, 0x00, 0x00, 0x00, 0x00};
void setup(){
display.begin(SSD1306_SWITCHCAPVCC, 0x3D); //or 0x3C
display.clearDisplay(); //for Clearing the display
display.drawBitmap(0, 0, myBitmap, 128, 64, WHITE); // display.drawBitmap(x position, y position, bitmap data, bitmap width, bitmap height, color)
display.display();
}
void loop() { }