#include <Adafruit_GFX.h>
#include <Adafruit_SSD1306.h>
#include <Wire.h>
Adafruit_SSD1306 OLED(128,64,&Wire,-1);
static const unsigned char PROGMEM LAN[]={
0x00,0x00,0x03,0x00,0x00,0x00,0x07,0x00,0x00,0x00,0x17,0x00,0x00,0x80,0x7F,0x00,
0x00,0x83,0x7F,0x00,0x00,0xF7,0x07,0x00,0xE0,0xFF,0x00,0x00,0xE0,0x7F,0x3E,0x00,
0xE0,0xBF,0x7F,0x00,0x00,0xDC,0xE1,0x01,0x00,0xCF,0xEF,0x01,0xC0,0xEF,0xED,0x01,
0xE0,0xF9,0x6F,0x00,0xE0,0x7F,0x6F,0x00,0xC0,0xFF,0x61,0x00,0xC0,0xBD,0x61,0x00,
0xC0,0xB6,0x6F,0x00,0xC0,0xFA,0x7F,0x00,0xC0,0xF3,0x7E,0x00,0xC0,0xFF,0x67,0x00,
0xC0,0xEF,0x63,0x00,0xC0,0xF7,0x60,0x00,0xC0,0xFF,0xE3,0x00,0xC0,0xBE,0xEF,0x00,
0xC0,0x37,0xDE,0x00,0xC0,0x3F,0xDC,0x00,0xE0,0x3C,0xF8,0x00,0x60,0x38,0xF0,0x00,
0xE0,0x30,0xE0,0x00,0xC0,0x31,0xE0,0x01,0xC0,0x01,0xC0,0x01,0x00,0x01,0x80,0x01,/*"D:\练习Arduino\取字模软件\启功\LL.bmp",0*/
};
void setup() {
// put your setup code here, to run once:
OLED.begin(SSD1306_SWITCHCAPVCC,0x3c);
OLED.setTextColor(1);
}
void loop() {
// put your main code here, to run repeatedly:
OLED.clearDisplay();
OLED.setTextSize(1);
OLED.drawBitmap(10,32,LAN,32,20,1);
OLED.display();
}