Richard Kuo
/
NTOUEE-mbed-I2C_LCD_drawBMP
mbed I2C LCD draw bitmap
main.cpp
- Committer:
- rkuo2000
- Date:
- 2016-10-21
- Revision:
- 0:5880b78ceccc
File content as of revision 0:5880b78ceccc:
// using NuMaker-PFM-NUC472 I2C1 to draw a bitmap on LCD #include "mbed.h" #include "ssd1306.h" I2C i2c1(PD_12, PD_10); // I2C1_SDA, I2C1_SCL SSD1306 LCD; unsigned char BMP_NTOU_logo[128*8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xC0,0xE0,0xE0,0xE0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF8,0xF0,0xF0,0xF0,0xF0,0xF0,0xE0,0xE0,0xC0,0xC0,0x80,0x80,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,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0xE0,0xF8,0xF8,0xFC,0xFE,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0xFC,0xF8,0xF0,0xE0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x90,0xF0,0xF0,0xE0,0x00,0x00,0x10,0xF0,0xF0,0x10,0x00,0x80,0xF0,0x70,0x30,0x30,0xF0,0xF0,0x10,0x30,0xF0,0xF0,0x00,0x00,0x80,0xE0,0xE0,0x30,0x10,0x10,0x70,0xE0,0xC0,0x00,0x00,0x00,0x10,0xF0,0xF0,0xF0,0x10,0x00,0x10,0xF0,0xF0,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0xE0,0xF8,0xBE,0x3F,0x7F,0x7F,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F,0x7F,0x3F,0x3F,0x1F,0x1F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x0F,0x1F,0x1F,0x1F,0xBE,0xF8,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x01,0x07,0x3F,0xFC,0xE0,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0xFF,0xFF,0xFF,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0xFF,0xFE,0xFC,0xF0,0xE0,0x80,0x01,0x03,0x07,0x0F,0x3F,0xFF,0x7F,0x7F,0x7F,0x7F,0x3F,0x3F,0x1F,0x0F,0x07,0x03,0x01,0x80,0xC0,0x40,0x20,0x30,0x10,0x08,0x08,0x08,0x00,0x04,0x04,0x04,0x04,0x04,0x00,0x08,0x08,0x08,0x10,0x18,0xBC,0xFE,0xFF,0xFF,0xFF,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x0F,0x08,0x08,0x00,0x00,0x07,0x0F,0x0F,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x0F,0x0F,0x08,0x08,0x00,0x00,0x00,0x00,0x01,0x07,0x0F,0x08,0x08,0x08,0x0E,0x07,0x03,0x00,0x00,0x00,0x00,0x07,0x0F,0x0F,0x08,0x08,0x0C,0x07,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0x10,0x20,0x60,0x40,0x81,0x82,0x84,0x84,0x88,0x88,0x8C,0x44,0x46,0x22,0x31,0x10,0x08,0x08,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x8C,0xC8,0xF8,0xF0,0xF0,0xE0,0xF0,0xF8,0xFC,0xFE,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,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,0x00,0x00,0x00,0x01,0x07,0x1F,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0xF8,0xF0,0xE0,0xE0,0xE0,0xE0,0xE0,0xE0,0xF0,0xF0,0xF0,0xF0,0xF8,0xF8,0xF8,0xF8,0xF8,0xF0,0xF8,0xF8,0xFC,0xFE,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x3F,0x1F,0x07,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x40,0x40,0xF0,0xF1,0x07,0x07,0x00,0x00,0x00,0x00,0xFF,0xFF,0x40,0x40,0xF0,0xF1,0x07,0x07,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x07,0x0F,0x1F,0x3F,0x3F,0x7F,0x7F,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0x7F,0x7F,0x3F,0x1F,0x1F,0x0F,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x7F,0x7F,0x60,0x40,0x43,0x43,0x70,0x78,0x18,0x00,0x40,0x40,0x7F,0x7F,0x60,0x40,0x43,0x43,0x70,0x78,0x18,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x03,0x03,0x03,0x03,0x03,0x03,0x07,0x07,0x07,0x03,0x03,0x03,0x03,0x03,0x03,0x01,0x01,0x01,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,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_Academic[64*8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x00,0x80,0x80,0x00,0x00,0x00,0x80,0x00,0x00,0x00,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x80,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x20,0x20,0xE0,0x20,0x20,0x00,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0x00,0x80,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x01,0x00,0x00,0x1F,0x00,0x00,0x0F,0x10,0x10,0x10,0x1F,0x00,0x01,0x0E,0x10,0x0C,0x03,0x00,0x00,0x0F,0x10,0x10,0x10,0x0F,0x00,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x0F,0x10,0x10,0x10,0x0F,0x00,0x00,0x1F,0x01,0x00,0x00,0x1F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0x80,0x80,0x80,0xC0,0xC0,0xC0,0xC0,0xC0,0xE0,0xE0,0xE0,0xE0,0xE0,0xF0,0xF0,0xF0,0xF0,0xF0,0xF8,0xF8,0xF8,0xF8,0x7C,0x7C,0x7C,0xF8,0xF8,0xF8,0xF8,0xF8,0xF0,0xF0,0xF0,0xF0,0xF0,0xE0,0xE0,0xE0,0xE0,0xC0,0xC0,0xC0,0xC0,0xC0,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x03,0x03,0x03,0x07,0x07,0x07,0x0F,0x0F,0x8F,0x9F,0x9F,0x1F,0x3F,0x3F,0x3F,0x7F,0x7F,0x7F,0xFF,0xFF,0xFF,0xFF,0xFC,0xF8,0xF8,0xF8,0xFC,0xFC,0xFC,0xFC,0xFC,0x7C,0x7C,0x7D,0x3D,0x39,0x39,0x19,0x19,0x99,0x89,0x89,0x09,0x01,0x01,0x03,0x03,0xFB,0x03,0x01,0x01,0x01,0x01,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3F,0x7F,0x7F,0xFF,0xFF,0xFF,0xFE,0xFE,0xFC,0xFC,0xFC,0xF8,0xF8,0xF9,0xF1,0xF1,0xF3,0xF1,0xF1,0xF9,0xF8,0xF8,0xFC,0xFC,0xFC,0xFE,0xFE,0xFE,0xFF,0xFF,0xFF,0x7F,0x3F,0x3F,0x00,0x00,0x00,0x00,0x00,0xFF,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,0x01,0x03,0x03,0x07,0x07,0x0F,0x0F,0x1F,0x1F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x1F,0x1F,0x0F,0x0F,0x07,0x07,0x03,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x7C,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0xC0,0x20,0x10,0x10,0x10,0x10,0xE0,0x30,0x10,0x10,0x30,0xE0,0x00,0x00,0xF0,0x90,0x90,0x70,0x00,0x10,0x10,0xF0,0x10,0x10,0x00,0xF0,0x90,0x90,0x90,0x10,0x60,0x80,0x40,0x20,0x10,0x00,0x00,0x00,0x00,0x00,0xF0,0x70,0xC0,0x00,0x80,0xE0,0xF0,0x00,0xE0,0x10,0x10,0x10,0xE0,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x01,0x02,0x04,0x04,0x04,0x04,0x03,0x06,0x04,0x04,0x06,0x03,0x00,0x00,0x07,0x00,0x00,0x03,0x04,0x00,0x00,0x07,0x00,0x00,0x00,0x07,0x04,0x04,0x04,0x04,0x02,0x01,0x01,0x02,0x04,0x00,0x01,0x01,0x00,0x00,0x07,0x00,0x03,0x06,0x03,0x00,0x07,0x00,0x03,0x04,0x04,0x04,0x03,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_Doraemon[64*8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xC0,0x60,0x30,0x30,0x18,0x18,0x0C,0x0C,0x04,0x86,0xC6,0x46,0x62,0x62,0x42,0x42,0xC2,0x82,0x02,0xC2,0x46,0x66,0x66,0x64,0x4C,0xCC,0x98,0x18,0x30,0x20,0x60,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x80,0xE0,0x38,0x1C,0x06,0x03,0x01,0x80,0xC0,0x60,0x20,0x30,0x18,0x08,0x0C,0x7F,0xC1,0x80,0x00,0x00,0x10,0x10,0x90,0xC1,0xFF,0xFF,0xDC,0x9C,0x08,0x00,0x00,0x00,0x80,0xE1,0x3F,0x10,0x00,0x20,0x40,0x81,0x03,0x06,0x1C,0x30,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xF0,0xFF,0x01,0x00,0xF0,0x1C,0x06,0x03,0x11,0x10,0x11,0x11,0x11,0x33,0x33,0x22,0x26,0x64,0x6D,0x49,0x09,0x01,0x07,0x0F,0x19,0xD8,0xF8,0x18,0x0F,0x07,0x01,0x09,0x89,0x09,0x48,0xC0,0xC4,0x04,0x00,0x44,0x40,0x01,0x0C,0x78,0xE0,0x03,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1F,0x78,0xFF,0xFF,0x80,0x00,0x18,0x19,0x19,0x19,0x1B,0x13,0x33,0x63,0x43,0xC3,0x82,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0xCC,0x1F,0x00,0x00,0x00,0x00,0x00,0x04,0x04,0x04,0x0C,0x8C,0x8C,0x8C,0x88,0x08,0x00,0x00,0xE0,0xFF,0x3F,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x0E,0x1C,0xB8,0xF0,0x60,0x60,0x40,0x00,0x40,0x40,0xC0,0xC1,0xC3,0x42,0x00,0xC4,0xC4,0xC8,0x4C,0x4F,0xC8,0x48,0x4C,0x44,0x44,0xE6,0xE2,0x63,0x61,0x21,0x21,0xE0,0xF0,0x18,0x0C,0x06,0x03,0x01,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,0x7C,0x6F,0x01,0x01,0x01,0x03,0x03,0x00,0x01,0x0F,0x18,0x10,0x20,0x20,0xB0,0x99,0x8F,0x83,0xC3,0xC7,0xFC,0xB8,0xB0,0x90,0x98,0x8F,0x87,0x81,0xC1,0x41,0x31,0xFF,0xC0,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,0xE9,0x8F,0x00,0x00,0x01,0x00,0x03,0x07,0x0D,0x19,0x13,0x37,0x35,0x2D,0x29,0x29,0xA9,0xA8,0x28,0x29,0x2D,0x35,0x37,0x13,0x19,0x0C,0x07,0x01,0x00,0x00,0x00,0x07,0xFD,0x60,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,0x04,0x0F,0x19,0x11,0x11,0x33,0x23,0x23,0x22,0x22,0x22,0x22,0x22,0x22,0x32,0x32,0x1F,0x0F,0x01,0x01,0x0D,0x1F,0x32,0x32,0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x22,0x23,0x31,0x11,0x1B,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_HelloKitty[64*8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0xE0,0x70,0x30,0x30,0x30,0x30,0x20,0x60,0x60,0xC0,0xC0,0xC0,0xC0,0x40,0x40,0x40,0x40,0x40,0xF0,0xFC,0x86,0x02,0x02,0x06,0x8C,0xB8,0x30,0x18,0x18,0x08,0x0C,0x08,0xF8,0xFC,0x0C,0x0C,0x78,0xE0,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,0xFF,0xE1,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3E,0x27,0x63,0x41,0x41,0x61,0xE0,0x00,0x0F,0x09,0x09,0x0F,0xE0,0xC0,0xC0,0x82,0x83,0xC7,0xCC,0x78,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x40,0x40,0x40,0xE0,0xFE,0x47,0x41,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x06,0x0C,0x0C,0x04,0x07,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xC0,0x41,0x4F,0xFC,0x60,0x40,0x40,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x08,0x08,0x0C,0x8F,0xBF,0xFC,0xC4,0xC0,0x40,0x00,0x00,0x00,0x00,0x0E,0x0F,0x0E,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x70,0xD0,0xD0,0x70,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0F,0x0E,0x00,0x00,0x00,0x00,0x40,0xC0,0xC4,0xFC,0x9F,0x0C,0x0C,0x08,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x00,0x80,0xC1,0xC3,0xC6,0x46,0xEC,0xE8,0x38,0x38,0xF0,0xF0,0x30,0x30,0x20,0xE0,0xE0,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0x60,0xE0,0xE0,0x20,0x30,0x30,0xF0,0xF0,0x38,0x78,0xEC,0xEC,0xC6,0xC7,0xC3,0xC1,0x80,0x01,0x01,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x7F,0xC0,0x80,0x80,0x80,0x81,0xC7,0xFE,0x1F,0x03,0x00,0x00,0x00,0x00,0x00,0x03,0x06,0x0C,0x0C,0x0C,0x0C,0x0C,0x0C,0x07,0x03,0x00,0x00,0x00,0x00,0x00,0x07,0x3F,0xFE,0x83,0x80,0x80,0x80,0x80,0xC0,0x7F,0x3C,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,0xFD,0x7F,0x61,0x60,0x60,0x60,0x40,0x40,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0x40,0x40,0x60,0x60,0x60,0x63,0xFF,0xF8,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,0x03,0x0F,0x18,0x30,0x60,0x60,0x40,0x40,0x40,0xC0,0xC0,0x40,0x40,0x60,0x7F,0x7F,0x40,0x40,0xC0,0xC0,0xC0,0x40,0x40,0x40,0x60,0x20,0x30,0x18,0x0F,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_Purin[64*8] = { 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,0x80,0x80,0x80,0x80,0x80,0xC0,0xE0,0xE0,0xE0,0x80,0x80,0x80,0x80,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,0x80,0x80,0xC0,0xC0,0xC0,0x60,0x60,0x60,0x30,0x30,0x18,0x18,0x0C,0x0C,0x0F,0x1F,0x1F,0x1F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x3F,0x1F,0x1E,0x0C,0x08,0x18,0x18,0x30,0x60,0x60,0xC0,0xC0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0xF0,0x3C,0x0E,0x03,0x03,0x01,0x01,0x00,0x00,0x00,0xC0,0xF0,0x38,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x00,0x00,0x00,0xC0,0x00,0x00,0xE0,0xE0,0x20,0x00,0x80,0x80,0x00,0x00,0x00,0x30,0x30,0x00,0x00,0x00,0x00,0xF0,0xF0,0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x06,0x06,0x0C,0x38,0xF0,0x80,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0x90,0xB0,0xF0,0xF0,0xF0,0x7C,0x3F,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x03,0x02,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x06,0x0C,0x18,0x70,0xF0,0xF0,0xB0,0xB0,0x10,0x18,0x0C,0x07,0x01,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x1E,0x3F,0x63,0x61,0x60,0xE0,0xF0,0x20,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,0x10,0x30,0x70,0xE0,0xE1,0x41,0x63,0x7E,0x3C,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,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,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0,0x40,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0x80,0x80,0x80,0x80,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0x40,0x60,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x00,0xF8,0xFF,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x03,0x02,0x03,0x03,0x01,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,0x01,0x03,0x03,0x02,0x06,0x06,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_Snoopy[64*8] = { 0x00,0x00,0x00,0x00,0x00,0xC0,0x20,0x18,0x08,0x04,0x02,0x02,0x01,0x01,0x01,0x01,0x01,0x01,0x81,0x82,0x02,0x05,0x0E,0x08,0x18,0x10,0x10,0x10,0x10,0x10,0x10,0x20,0x20,0x20,0x40,0x40,0xC0,0x80,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,0x80,0x60,0x98,0xC3,0xC0,0x80,0x00,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x0D,0x00,0x01,0x00,0x00,0x0E,0x01,0x00,0x00,0x00,0x00,0x00,0xC0,0xE0,0xC0,0xC0,0xC0,0x00,0x00,0x00,0x03,0x06,0x38,0xE0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x30,0x07,0x78,0xFF,0xFF,0xFF,0xFF,0xFF,0xFC,0xF1,0x0C,0xF0,0x00,0x00,0x00,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x00,0x00,0x80,0x80,0x40,0x60,0x18,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x07,0x0C,0x1B,0x37,0x2F,0x2F,0x6F,0x6F,0x2F,0x30,0x07,0x04,0x08,0x08,0x08,0x09,0x08,0x11,0x12,0xE2,0x80,0x84,0x82,0x80,0xE4,0x9A,0x38,0x3C,0xF6,0x06,0x07,0x05,0x05,0x05,0x05,0x05,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x04,0x84,0xFC,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,0xC0,0x30,0x1F,0x01,0x19,0x20,0x20,0x10,0x03,0x01,0x00,0x25,0xEF,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x9F,0x94,0x74,0x03,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,0xF0,0xFF,0x07,0x06,0x08,0x10,0x10,0x10,0x10,0x10,0x08,0x0C,0x1F,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x10,0x18,0x0C,0x24,0x12,0x12,0x19,0x08,0x0E,0x07,0x07,0x0C,0x08,0xF0,0x00,0x00,0x00,0x00,0x00,0xC0,0x00,0x02,0x02,0xFE,0x06,0x82,0x82,0x82,0x82,0x82,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x02,0x03,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,0x20,0x30,0x38,0x64,0x46,0x42,0x42,0x41,0x41,0x40,0x40,0x40,0x40,0x40,0x51,0x71,0x41,0x41,0x49,0x70,0x42,0x02,0x24,0x38,0x20,0x25,0x39,0x32,0x3C,0x20,0x20,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_SuperMario[64*8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0xF8,0xDC,0x2C,0x96,0xD2,0x82,0xD3,0x13,0x23,0xC2,0x06,0x06,0x0C,0x0C,0x18,0x38,0x70,0xE0,0xC0,0x80,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,0x18,0x3C,0x7E,0x76,0x72,0x73,0x73,0xF3,0xF3,0x73,0xA3,0x22,0x23,0x44,0x45,0x87,0x86,0x8C,0x0B,0x08,0x10,0x10,0x20,0x40,0x40,0x80,0x00,0x01,0x03,0x0E,0x3C,0xF0,0xC0,0x80,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,0xC0,0xF8,0x1C,0x0C,0x06,0x06,0x07,0x07,0x07,0x07,0x08,0x00,0x00,0x00,0x1C,0x3F,0x8E,0x81,0xC1,0x01,0x01,0x62,0xA2,0x18,0x07,0x83,0x06,0x18,0x10,0x00,0x00,0x10,0x10,0x21,0xE6,0xBC,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,0x03,0x06,0x0C,0x18,0x38,0x78,0xC8,0xC8,0xC8,0x84,0x84,0xC2,0xC2,0x43,0x41,0x21,0x18,0x06,0x00,0x00,0x00,0x00,0xC0,0xC1,0xA0,0xA0,0xA6,0xE5,0xE8,0x60,0x30,0x30,0x1C,0x0F,0x03,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,0x80,0xC0,0xE0,0x00,0x30,0xF8,0x06,0x13,0x13,0x85,0x01,0x71,0x49,0xC5,0x02,0x01,0xF9,0x07,0xBE,0x41,0x43,0x43,0x46,0x5C,0x78,0x60,0xC0,0xC0,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,0x0F,0xE3,0x21,0x43,0x74,0xC2,0x00,0x00,0x00,0x01,0x0C,0x08,0x10,0x08,0x08,0x07,0x30,0xF8,0x87,0xC3,0xC0,0x00,0x00,0x20,0x70,0x00,0x70,0x70,0x07,0xFF,0xF8,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,0xF1,0xFE,0x0F,0x07,0x03,0x02,0x02,0x04,0xC4,0xE8,0x38,0x18,0x18,0x18,0x18,0x0C,0x07,0x24,0x2D,0x28,0x28,0x28,0x38,0xF8,0xCC,0x04,0x06,0x03,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,0x00,0x07,0x0F,0x0E,0x0A,0x1A,0x1A,0x1A,0x0B,0x1E,0x38,0x28,0x68,0x68,0x60,0x60,0x60,0x20,0x28,0x28,0x28,0x28,0x3C,0x3F,0x03,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char BMP_Chopper[64*8] = { 0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x02,0x00,0x00,0x80,0x80,0x80,0x00,0x00,0xC0,0xE0,0xE0,0xF0,0xF0,0xF0,0xC0,0x40,0x30,0x10,0x10,0x10,0x10,0x18,0x08,0x08,0x08,0x08,0x08,0x08,0x08,0x18,0x10,0x10,0x10,0x10,0x70,0x60,0xE0,0xF0,0xD0,0xF0,0xE0,0xE0,0x80,0x00,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7C,0xFE,0xFE,0xFF,0xFF,0xFF,0xF8,0xC0,0xFB,0xDE,0xF7,0xFF,0xFF,0xFF,0x8A,0x15,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x20,0x30,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x40,0x00,0xFF,0x7B,0xFF,0xFF,0xF7,0xFF,0xC0,0xC0,0xFF,0xFF,0xFE,0xFF,0xFF,0xFE,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x03,0x07,0x0F,0x0F,0x0F,0x8F,0xCF,0x7F,0x3F,0xBF,0x98,0xD8,0xCE,0x8F,0xC6,0xC6,0xE6,0xE2,0xE2,0xF2,0xF3,0xF2,0xF2,0xF2,0xF2,0xF2,0xF2,0xF2,0xA2,0xE2,0xE6,0xE6,0xE6,0xCC,0xDF,0xD8,0x94,0x9F,0x3B,0x7F,0xCB,0x8F,0x0F,0x0F,0x0F,0x07,0x03,0x01,0x00,0x00,0x00,0x00,0x00,0x00,0x00, 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0E,0x1F,0x7E,0x5E,0xFF,0xFE,0x7B,0xFF,0x7F,0xFF,0xFF,0x03,0x1B,0x17,0x59,0x7A,0x24,0xC0,0xC0,0xA0,0xC0,0x00,0x04,0x18,0x39,0x7B,0x03,0x02,0xFF,0xFB,0xFF,0x7F,0x7B,0xFF,0xFB,0xFE,0x3E,0x1B,0x1E,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,0x03,0x03,0x0F,0x18,0x13,0x7D,0x4A,0x9E,0x98,0x19,0x30,0x12,0x7E,0xE2,0xE2,0xF2,0x7E,0x36,0x32,0x12,0x9C,0x96,0xDA,0x6F,0x13,0x1D,0x07,0x03,0x03,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,0x00,0x00,0x00,0x00,0x00,0x00,0xFC,0x83,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x8F,0xF0,0xC0,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF,0x7F,0x3F,0x3F,0x3F,0x3F,0x3F,0x7F,0xFF,0xFF,0xFF,0xFD,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,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x38,0x3C,0x3A,0x7B,0x38,0x33,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x33,0x3A,0x3B,0x3A,0x3C,0x38,0x30,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }; unsigned char DrawBuffer[128*8]; int main() { int i, j; i2c1.frequency(400000); LCD.initialize(); LCD.clearscreen(); while(true) { LCD.drawBMP(BMP_NTOU_logo); Thread::wait(500); for (i=0;i<8;i++) for (j=0;j<128;j++) if (j<64) DrawBuffer[j+i*128]=BMP_Doraemon[j+i*64]; else DrawBuffer[j+i*128]=BMP_Academic[(j-64)+i*64]; LCD.drawBMP(DrawBuffer); Thread::wait(500); for (i=0;i<8;i++) for (j=0;j<128;j++) if (j<64) DrawBuffer[j+i*128]=BMP_HelloKitty[j+i*64]; else DrawBuffer[j+i*128]=BMP_Academic[(j-64)+i*64]; LCD.drawBMP(DrawBuffer); Thread::wait(500); for (i=0;i<8;i++) for (j=0;j<128;j++) if (j<64) DrawBuffer[j+i*128]=BMP_Purin[j+i*64]; else DrawBuffer[j+i*128]=BMP_Academic[(j-64)+i*64]; LCD.drawBMP(DrawBuffer); Thread::wait(500); for (i=0;i<8;i++) for (j=0;j<128;j++) if (j<64) DrawBuffer[j+i*128]=BMP_SuperMario[j+i*64]; else DrawBuffer[j+i*128]=BMP_Academic[(j-64)+i*64]; LCD.drawBMP(DrawBuffer); Thread::wait(500); for (i=0;i<8;i++) for (j=0;j<128;j++) if (j<64) DrawBuffer[j+i*128]=BMP_Chopper[j+i*64]; else DrawBuffer[j+i*128]=BMP_Academic[(j-64)+i*64]; LCD.drawBMP(DrawBuffer); Thread::wait(500); } }