e-paper-display/bcm2835-1.71/e-Paper/Arduino/epd1in02d/imagedata.cpp

112 lines
7.6 KiB
C++

/**
* @filename : imagedata.cpp
* @brief : data file for epd demo
*
* Copyright (C) Waveshare September 5 2017
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documnetation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS OR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "imagedata.h"
#include <avr/pgmspace.h>
const unsigned char IMAGE_DATA[] PROGMEM = {
0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X01,0X08,
0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X03,0X0C,0X00,0X00,0X01,0X80,0X00,0X00,
0X00,0X00,0X06,0X06,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X04,0X02,0X00,0X00,
0X01,0X80,0XC0,0X00,0X00,0X00,0X04,0X02,0X00,0X00,0X01,0X80,0XF8,0X00,0X00,0X00,
0X04,0X02,0X00,0X00,0X01,0X80,0X3F,0X00,0X00,0X00,0X06,0X06,0X00,0X00,0X01,0X80,
0X07,0XE0,0X00,0X00,0X03,0XFC,0X00,0X00,0X01,0X80,0X07,0XF0,0X00,0X00,0X01,0XF8,
0X00,0X00,0X01,0X80,0X1F,0X10,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0XF8,0X10,
0X3F,0XC0,0X00,0X00,0X00,0X00,0X01,0X80,0XE0,0X00,0X7F,0XC0,0X03,0X00,0X00,0X00,
0X01,0X80,0X00,0X00,0X40,0X00,0X07,0X80,0X00,0XC0,0X01,0X80,0X7F,0X80,0X40,0X00,
0X04,0X80,0X00,0XF8,0X01,0X80,0XFF,0X80,0X60,0X00,0X07,0X80,0X00,0X3F,0X01,0X80,
0X91,0X83,0XFF,0XC0,0X03,0X00,0X00,0X07,0XE1,0X80,0X98,0X83,0XFF,0XC0,0X00,0X00,
0X00,0X07,0XF1,0X80,0X88,0X80,0X00,0X00,0X00,0X00,0X00,0X1F,0X11,0X80,0XC8,0X80,
0X40,0X40,0X03,0XF8,0X00,0XF8,0X11,0X80,0X6F,0X80,0X40,0X40,0X07,0XFC,0X00,0XE0,
0X01,0X80,0X27,0X01,0XFF,0XC0,0X04,0X66,0X00,0X00,0X01,0X80,0X00,0X01,0XFF,0XC0,
0X04,0X22,0X00,0X7F,0X81,0X80,0X00,0X00,0X40,0X00,0X04,0X22,0X00,0XFF,0X81,0X87,
0XFF,0X80,0X00,0X00,0X07,0XE6,0X00,0X91,0X81,0X87,0XFF,0X82,0X00,0X00,0X03,0XC4,
0X00,0X98,0X81,0X83,0XC0,0X03,0X80,0X00,0X00,0X00,0X00,0X88,0X81,0X80,0XF0,0X03,
0XE0,0X00,0X00,0X00,0X00,0XC8,0X81,0X80,0X3E,0X02,0X7E,0X00,0X03,0XC2,0X00,0X6F,
0X81,0X80,0X0F,0X82,0X1F,0XC0,0X07,0XE2,0X00,0X27,0X01,0X80,0X0F,0X82,0X01,0XC0,
0X04,0X32,0X00,0X00,0X01,0X80,0X3E,0X02,0X00,0X00,0X04,0X1A,0X00,0X00,0X01,0X80,
0XF0,0X02,0X00,0X00,0X04,0X0E,0X07,0XFF,0X81,0X83,0XC0,0X00,0X00,0X00,0X07,0X06,
0X07,0XFF,0X81,0X87,0XFF,0X80,0X00,0X00,0X03,0X02,0X00,0XC1,0X81,0X87,0XFF,0X80,
0X00,0X00,0X00,0X00,0X00,0X80,0X81,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X80,
0X81,0X80,0X00,0X00,0X00,0X00,0X00,0X60,0X00,0XC1,0X81,0X80,0X00,0X00,0X00,0X00,
0X00,0X60,0X00,0X7F,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X20,0X00,0X3E,0X01,0X80,
0X00,0X00,0X00,0X00,0X00,0X60,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X60,
0X00,0X00,0X01,0XFF,0XFF,0XFF,0XFF,0XFF,0X00,0X40,0X00,0X7F,0X81,0X80,0X00,0X00,
0X00,0X00,0X00,0X60,0X00,0XFF,0X81,0X80,0X00,0X00,0X00,0X00,0X00,0X20,0X00,0X80,
0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X80,0X01,0X80,0X00,0X00,0X00,0X00,
0X03,0XBC,0X00,0XC0,0X01,0X80,0X00,0X00,0X00,0X00,0X07,0XFE,0X00,0XFF,0X81,0X80,
0X00,0X00,0X00,0X00,0X04,0X42,0X00,0XFF,0X81,0X80,0X00,0X00,0X00,0X00,0X04,0X42,
0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X04,0X42,0X00,0X00,0X01,0X80,0X00,0X00,
0X00,0X00,0X07,0X0E,0X00,0XFF,0X81,0X80,0X00,0X00,0X00,0X00,0X03,0X0C,0X00,0XFF,
0X81,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X81,0X80,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X81,0X80,0X00,0X00,0X00,0X00,0X03,0XC2,0X00,0X00,0X81,0X80,
0X00,0X00,0X00,0X00,0X07,0XE2,0X00,0XFF,0X81,0X80,0X00,0X00,0X00,0X00,0X04,0X32,
0X00,0XFF,0X01,0X80,0X00,0X00,0X00,0X00,0X04,0X1A,0X00,0X00,0X01,0X80,0X00,0X00,
0X00,0X00,0X04,0X0E,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X07,0X06,0X01,0X0E,
0X01,0X80,0X00,0X00,0X00,0X00,0X03,0X02,0X03,0X1F,0X01,0X80,0X00,0X00,0X00,0X00,
0X00,0X00,0X06,0X11,0X81,0X80,0X00,0X02,0X00,0X00,0X00,0X00,0X04,0X10,0X81,0X80,
0X03,0XFF,0XC0,0X00,0X00,0X00,0X04,0X30,0X81,0X80,0X03,0XFF,0XC0,0X00,0X00,0X00,
0X04,0X20,0X81,0X80,0X01,0X82,0X00,0X00,0X00,0X20,0X04,0X20,0X81,0X80,0X00,0XE2,
0X00,0X00,0X00,0X20,0X06,0X61,0X81,0X80,0X00,0X72,0X00,0X00,0X0C,0X01,0X83,0XC3,
0X01,0X80,0X00,0X1A,0X00,0X00,0X00,0X00,0X01,0X82,0X01,0X80,0X00,0X0E,0X00,0X00,
0X01,0XFC,0X00,0X00,0X01,0X80,0X00,0X06,0X00,0X00,0X03,0XFE,0X00,0X00,0X01,0X80,
0X00,0X00,0X00,0X00,0X03,0XFE,0X00,0X00,0X01,0X80,0X00,0X07,0X00,0X00,0X07,0XFF,
0X00,0X00,0X01,0X80,0X01,0XEF,0X80,0X00,0X37,0XFF,0X60,0X00,0X01,0X80,0X03,0XF8,
0XC0,0X00,0X07,0XFF,0X00,0X00,0X01,0X80,0X02,0X30,0X40,0X00,0X03,0XFE,0X00,0X00,
0X01,0X80,0X02,0X10,0X40,0X00,0X03,0XFE,0X00,0X00,0X01,0X80,0X03,0X10,0XC0,0X00,
0X01,0XFC,0X00,0X00,0X01,0X80,0X01,0X81,0X80,0X00,0X0C,0X01,0X80,0X00,0X01,0X80,
0X00,0X81,0X80,0X00,0X00,0X20,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X20,
0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,
0X00,0X00,0XFF,0XFF,0XFF,0XFF,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X01,0X81,0X80,0X00,
0X00,0X00,0X00,0X00,0X01,0X80,0X01,0X81,0X80,0X00,0X00,0X00,0X00,0X00,0X01,0X80,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X01,0XFF,0XFF,
0XC1,0X80,0X00,0XE0,0X40,0X00,0X00,0X07,0XFF,0XFF,0XC1,0X80,0X03,0XF8,0X40,0X00,
0X00,0X1F,0XE0,0XFF,0XC1,0X80,0X03,0X1C,0X40,0X00,0X00,0X3F,0X80,0X1F,0XC1,0X80,
0X02,0X06,0X40,0X00,0X00,0X3F,0X00,0X0F,0XC1,0X80,0X02,0X03,0X40,0X00,0X00,0XFC,
0X0F,0X07,0XC1,0X80,0X03,0X01,0XC0,0X00,0X00,0XFC,0X07,0X83,0XC1,0X80,0X01,0X80,
0XC0,0X00,0X00,0XFE,0X03,0XFF,0XC1,0X80,0X00,0X80,0X40,0X00,0X01,0XFF,0XC0,0X7F,
0XC1,0X80,0X00,0X00,0X00,0X00,0X01,0XC1,0XF0,0X7F,0XC1,0X80,0X00,0X00,0X00,0X00,
0X01,0XC1,0XF0,0X7F,0XC1,0X80,0X00,0X00,0X00,0X00,0X01,0XC0,0XF8,0X7F,0XC1,0X80,
0X00,0X00,0X00,0X00,0X01,0XE0,0X13,0XFF,0XC1,0X80,0X03,0XFF,0XC0,0X00,0X01,0XF0,
0X0F,0XFF,0XC1,0X80,0X03,0XFF,0XC0,0X00,0X01,0XFF,0X01,0XFF,0XC1,0X80,0X01,0X80,
0X00,0X00,0X01,0XFF,0XC0,0X7F,0XC1,0X80,0X00,0XC0,0X00,0X00,0X01,0XFF,0XC0,0X7F,
0X81,0X80,0X00,0X40,0X00,0X00,0X01,0XFE,0X01,0XFF,0X81,0X80,0X00,0X00,0X00,0X00,
0X01,0XFC,0X1F,0XFF,0X81,0X80,0X00,0X00,0X00,0X00,0X01,0XFC,0X0F,0XFF,0X81,0X80,
0X00,0X00,0X00,0X00,0X01,0XFF,0X00,0XFF,0X01,0X80,0X00,0X00,0X00,0X00,0X01,0XFF,
0XC0,0X7E,0X01,0X80,0X00,0X00,0X00,0X00,0X01,0XFF,0X00,0X7E,0X01,0X80,0X00,0X00,
0X00,0X00,0X01,0XFC,0X03,0XFC,0X01,0X80,0X00,0X00,0X00,0X00,0X01,0XFC,0X1F,0XF8,
0X01,0X80,0X00,0X00,0X00,0X00,0X01,0XFC,0X7F,0XF0,0X01,0X80,0X00,0X00,0X00,0X00,
0X01,0XFC,0X7F,0XF0,0X01,0X80,0X00,0X00,0X00,0X00,0X01,0XFF,0XFF,0XC0,0X01,0X80,
0X00,0X00,0X00,0X00,0X01,0XFF,0XFF,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,
};