FireBeetle_Covers-ePaper_Black&White&Red_Display_Module_SKU__DFR0531-DFRobot

Introduction

DFRobot FireBeetle series is low-power development component designed for Internet of Things(IoT). This FireBeetle Covers-ePaper Black&White&Red Display Module(SPI) features a 2.13-inch electronic ink screen with 212x104 resolution and SPI interface, supporting Arduino library and microPython programming. This module is suitable for the current main control board of Firebeetle series. It has the characteristics of small size, compact layout, plug and play, low power consumption and good display effect. Compared with the traditional electronic ink screen it displays better and it integrates the GT30L24A3W/foreign language font chip. But compared with the traditional black-and-white electronic ink screen within 1s refresh speed, this screen refresh speed is relatively slow (at least once 12s). And it only suitable for static pictures or text display, but not for dynamic refresh.

warning_yellow.png NOTE: This board is only available for ESP32 and ESP8266, not for FireBeetle BLE4.1.

Specification

Function Diagram

Fig2:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)Function Diagram

PinOut

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI) PinOut

API List

At present, this module only supports the simplified Chinese of 16*16 lattice and the ASCII characters of 16*8 lattice. For more fonts, font sizes will be updated later.

#include "DFRobot_IL0376F_SPI.h"
DFRobot_IL0376F_SPI eink; //Create an ePaper object
/*
 * @Function:Set and initializeCS pin of font and ink screen.
 * @Parameter1 cs_W21:CS pin of ink screen.
 *     D3: Available Pin.
 *     D4: Available Pin.
 * @Parameter2 cs_GT30: Font CS pin.
 *     D5: Available Pin.
 *     D6: Available Pin.
 * @Parameter3 dc:DC pin of ink screen.
 *     D8: Available pin.
 * @Parameter4 busy: Busy pin of ink screen.
 *     D7: Available pin.
 */
void begin(const char cs_W21, const char cs_GT30, const char dc, busy);

/*
 * @Function: Clear the screen and set the screen to the specified color
 * @Parameter color: Color
*/
InkScreen_Error clear(uint8_t color);

/*
 * @Function: Display picture(212*104), Picture colors can be red, white, black.
 * @Parameter1 pic_bw: Black and white picture
 * @parameter2 pic_red: Red picture
 */
void drawPicture(const unsigned char *pic_bw, const unsigned char *pic_red);

/*
 * @Function: Refresh the screen
 */
void flush(void);

/*
 * @Function; Display the character string.
 * @Parameter1 (x,y):Coordinate (x∈(0,211),y∈(0,103).
 * @Parameter2 ch:Import character string.
 * @Parameter3 color:Red/Black/White
 */
void disString(uint8_t x, uint8_t y, char *ch, uint8_t color);

/*
 * @Function: Drawing points
 * @Parameter1 (x,y):Coordinate (x∈(0,211),y∈(0,103).
 * @Parameter2 color:Red/Black/White
 */
InkScreen_Error drawPoint(const unsigned char x, const unsigned char y, const unsigned char color);

/*
 * @Function: Drawing lines.
 * @Parameter1 [(x1,y1),(x2,y2)]:Line endpoint coordinates (x1/x2∈(0,211),y1/y2∈(0,103)).
 * @Parameter2 color: Red/Black/White
 */
InkScreen_Error drawLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint8_t color);

/*
 * @Function: Drawing rectangle box
 * @Parameter1 (x1,x2):Starting abscissa  (x1/x2∈(0,211)).
 * @Parameter2 (y1,y2): Starting ordinate (y1/y2∈(0,103)).
 * @Parameter3 color:Red/Black/White.
 */
InkScreen_Error drawRectangle(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint8_t color);

/*
 * @Function: Filling rectangle.
 * @Parameter1 (x1,x2):Starting abscissa (x1/x2∈(0,211)).
 * @Paremeter2 (y1,y2):Starting ordinate (y1/y2∈(0,103)).
 * @Parameter3 color:  Red/Black/White.
 */
InkScreen_Error drawFillRect(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint8_t color);

/*
 * @Function:Draw a rounded border or fill a circle.
 * @Parameter1 (xc,yc): Center coordiante (xc∈(0,211),yc∈(0,103).
 * @Parameter2 r: radius (r<=52).
 * @Parameter3 fill: 0:Drawing a circle border  1: Filling circle.
 * @Parameter4 color: Red/Black/White.
 */
InkScreen_Error drawCircle(uint16_t xc, uint16_t yc, uint16_t r, uint16_t fill, uint8_t color);

Tutorial

Preparation

Hardware

Software

Paint

Hardware Connection

Sample Code

#include "Arduino.h"
#include "DFRobot_IL0376F_SPI.h"
DFRobot_IL0376F_SPI eink;

#define EINK_CS  D3
#define Font_CS  D6
#define EINK_DC  D8
#define BUSY     D7

void setup(void)
{
    Serial.begin(115200);
    //Select the corresponding pins
    eink.begin(EINK_CS, Font_CS, EINK_DC, BUSY);

    //Clear the screen and display white-
    eink.fillScreen(WHITE);
    //Displays a string, red font
    eink.disString(12,12,1,"DFRobot EINK 1234567890,!@#$%^&*()-+=",RED);
    //Refresh screen display
    eink.flush();
    delay(3000);

    //Displays a string, red font
    eink.disString(12,48,1,"DFRobotThree-color electronic ink screen test program",BLACK);
    //Refresh screen display
    eink.flush();
}

void loop(void)
{
    delay(8000);
}

Function: The display includes drawing points, drawing lines, drawing rectangular frames, drawing filled rectangles, drawing circles, drawing filled circles. '''Effect: '''

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

Character Display

Hardware Connection

#include "Arduino.h"
#include "DFRobot_IL0376F_SPI.h"
DFRobot_IL0376F_SPI eink;

#define EINK_CS  D3
#define Font_CS  D6
#define EINK_DC  D8
#define BUSY     D7

void setup(void)
{
    Serial.begin(115200);
    //Select the corresponding pins
    eink.begin(EINK_CS, Font_CS, EINK_DC, BUSY);

    //Clear the screen and display white
    eink.fillScreen(WHITE);
    //Displays a string, red font
    eink.disString(12,12,1,"DFRobot EINK 1234567890,!@#$%^&*()-+=",RED);
    //Refresh screen display
    eink.flush();
    delay(3000);

    //Displays a string, red font
    eink.disString(12,48,1,"DFRobotThree-color electronic ink screen test program",BLACK);
    //Refresh screen display
    eink.flush();
}

void loop(void)
{
    delay(8000);
}

Function: Display characters including Chinese, ASCII characters, punctuation. '''Effect: '''

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

Graphic Display

Hardware Connection

Sample Code

#include "Arduino.h"
#include "DFRobot_IL0376F_SPI.h"
DFRobot_IL0376F_SPI eink;

#define EINK_CS  D3
#define Font_CS  D6
#define EINK_DC  D8
#define BUSY     D7

const unsigned char  picBW[] =
{
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,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XE0,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0XE0,0X00,
0X00,0X00,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X87,
0XFF,0X01,0XC0,0X08,0X00,0X40,0X00,0X83,0XE0,0X00,0X00,0X00,0X8F,0XFF,0X03,0XC0,
0X0C,0X00,0X60,0X00,0XC3,0XE0,0X00,0X00,0X00,0X8C,0X03,0X67,0X86,0X01,0XC2,0X3C,
0X0F,0XC3,0XE0,0X00,0X00,0X00,0X8C,0X03,0X67,0X06,0X01,0XC2,0X3C,0X0F,0XC3,0XE0,
0X00,0X00,0X00,0X8C,0XFB,0X07,0X3F,0XFF,0XBC,0X73,0XFB,0XC3,0XE0,0X00,0X00,0X00,
0X8C,0XFB,0X07,0XFF,0XFF,0XBF,0XFF,0XFF,0X83,0XE0,0X00,0X00,0X00,0X8C,0XFB,0X00,
0XD9,0X81,0XBF,0XBF,0X7F,0X03,0XE0,0X00,0X00,0X00,0X8C,0XFB,0X18,0XFE,0XFD,0X8F,
0XBF,0XE1,0XC3,0XE0,0X00,0X00,0X00,0X8C,0XFB,0X18,0XFE,0XFD,0X8F,0XBF,0XE1,0XC3,
0XE0,0X00,0X00,0X00,0X8C,0X03,0X63,0X06,0X0C,0X30,0X30,0X7F,0X03,0XE0,0X00,0X00,
0X00,0X8F,0XFF,0X79,0XC7,0X0E,0X3D,0XF2,0X7F,0X83,0XE0,0X00,0X00,0X00,0X8F,0XFF,
0X78,0XC1,0X8E,0X0D,0XF3,0X7C,0XC3,0XE0,0X00,0X00,0X00,0X80,0X00,0X1F,0XF9,0XCE,
0X4D,0XF0,0X6F,0XC3,0XE0,0X00,0X00,0X00,0X80,0X00,0X1F,0XFF,0XDE,0X4D,0XF8,0X6F,
0XC3,0XE0,0X00,0X00,0X00,0X8F,0XDF,0X7B,0XFE,0XF0,0X0C,0X3F,0XEC,0X03,0XE0,0X00,
0X00,0X00,0X8F,0XFF,0X7F,0XFE,0XF3,0XCF,0XFF,0XE7,0X03,0XE0,0X00,0X00,0X00,0X8C,
0X78,0X7F,0XD8,0XF7,0XCF,0XFF,0X03,0X03,0XE0,0X00,0X00,0X00,0X8F,0X7F,0XDF,0X3E,
0XF1,0XCD,0XEF,0XFF,0X03,0XE0,0X00,0X00,0X00,0X8F,0X7F,0XDF,0X3E,0XF1,0XCD,0XEF,
0XFF,0X03,0XE0,0X00,0X00,0X00,0X83,0X04,0X7E,0X18,0XC7,0X82,0X00,0X18,0XC3,0XE0,
0X00,0X00,0X00,0X81,0XDF,0XDF,0X01,0XBC,0X0C,0X73,0X78,0XC3,0XE0,0X00,0X00,0X00,
0X80,0XDF,0XDF,0X01,0XBC,0X0C,0X73,0X78,0XC3,0XE0,0X00,0X00,0X00,0X80,0X18,0XE0,
0X1F,0XBF,0XFC,0X3F,0X6F,0X03,0XE0,0X00,0X00,0X00,0X80,0X18,0XE0,0X00,0X00,0X3C,
0X3F,0X6F,0X03,0XE0,0X00,0X00,0X00,0X8C,0XC3,0X66,0X20,0X80,0X0F,0XFD,0XEF,0X03,
0XE0,0X00,0X00,0X00,0X83,0X18,0X66,0X20,0X80,0X01,0X87,0XF8,0X03,0XE0,0X00,0X00,
0X00,0X83,0X18,0X66,0X20,0X7E,0X01,0X83,0X98,0X03,0XE0,0X00,0X00,0X00,0X80,0X7B,
0XE3,0XE0,0X7F,0X03,0XB3,0X7C,0X03,0XE0,0X00,0X00,0X00,0X80,0XFB,0XFF,0XE0,0XF7,
0X03,0X93,0X7C,0X83,0XE0,0X00,0X00,0X00,0X80,0XC0,0XFF,0XC1,0XF3,0X83,0X83,0X0C,
0XC3,0XE0,0X00,0X00,0X00,0X8F,0X03,0XFB,0XCD,0XF3,0X91,0XEC,0X6F,0X03,0XE0,0X00,
0X00,0X00,0X8F,0X03,0XFB,0XCF,0XF3,0X91,0XEC,0X6F,0X03,0XE0,0X00,0X00,0X00,0X80,
0X1C,0XC7,0XE1,0XF3,0X9F,0X81,0XEC,0XC3,0XE0,0X00,0X00,0X00,0X83,0XFF,0XC7,0XE0,
0XF7,0X1F,0X9F,0XE4,0XC3,0XE0,0X00,0X00,0X00,0X83,0XFB,0XC0,0XC0,0XFF,0X00,0X3F,
0X00,0XC3,0XE0,0X00,0X00,0X00,0X83,0XC0,0XC6,0X60,0X7E,0X1D,0XE1,0XFC,0XC3,0XE0,
0X00,0X00,0X00,0X83,0XC0,0XC6,0X20,0XC0,0X1D,0XE1,0XFD,0XC3,0XE0,0X00,0X00,0X00,
0X83,0X03,0X7E,0X00,0X80,0X0D,0XE3,0X7B,0X03,0XE0,0X00,0X00,0X00,0X83,0X87,0XFF,
0X00,0X00,0X0D,0XEF,0X73,0X83,0XE0,0X00,0X00,0X00,0X80,0XC4,0XC7,0X06,0XF1,0XCD,
0XEF,0X00,0XC3,0XE0,0X00,0X00,0X00,0X83,0X1F,0XF8,0XF6,0XC0,0XC0,0X7F,0XE0,0XC3,
0XE0,0X00,0X00,0X00,0X83,0X1F,0XF8,0XF6,0XC0,0X60,0X73,0XE0,0XC3,0XE0,0X00,0X00,
0X00,0X80,0X64,0X7F,0X00,0X36,0X70,0X33,0X98,0XC3,0XE0,0X00,0X00,0X00,0X87,0X7F,
0XFF,0X07,0X36,0X7E,0X7F,0X98,0X83,0XE0,0X00,0X00,0X00,0X8F,0X7B,0XF8,0X07,0XB6,
0X7E,0X7D,0X98,0X03,0XE0,0X00,0X00,0X00,0X8C,0XD8,0X1B,0XDF,0XCC,0X43,0X83,0X9F,
0XC3,0XE0,0X00,0X00,0X00,0X8D,0XD8,0X1B,0XDF,0XCC,0XE7,0X87,0XFF,0XC3,0XE0,0X00,
0X00,0X00,0X83,0X07,0XD8,0XF8,0X0F,0XBF,0XEF,0XE0,0X03,0XE0,0X00,0X00,0X00,0X83,
0X07,0XFC,0XFE,0X7F,0XFF,0XCF,0XE0,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X66,0X3E,
0XF6,0X40,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X8F,0XFF,0X66,0XD9,0XB6,0X4D,0XB3,
0XFF,0XC3,0XE0,0X00,0X00,0X00,0X8F,0XFF,0X76,0XD9,0XB6,0X4D,0XB3,0XFF,0XC3,0XE0,
0X00,0X00,0X00,0X8C,0X03,0X7B,0X00,0XF6,0X03,0X83,0X00,0XC3,0XE0,0X00,0X00,0X00,
0X8C,0XFB,0X76,0X3F,0XF0,0X4F,0X03,0X7C,0XC3,0XE0,0X00,0X00,0X00,0X8C,0XFB,0X66,
0X3F,0XF0,0X4E,0X03,0X7C,0XC3,0XE0,0X00,0X00,0X00,0X8C,0XFB,0X00,0X39,0XFF,0XBD,
0XB3,0X7C,0XC3,0XE0,0X00,0X00,0X00,0X8C,0XFB,0X01,0X39,0XFF,0XFF,0XB3,0X7C,0XC3,
0XE0,0X00,0X00,0X00,0X8C,0XFB,0X03,0X38,0X0F,0XF3,0XB3,0X7C,0XC3,0XE0,0X00,0X00,
0X00,0X8C,0X03,0X00,0X37,0XF6,0X0C,0X33,0X00,0XC3,0XE0,0X00,0X00,0X00,0X8C,0X03,
0X00,0X37,0XF6,0X0C,0X33,0X00,0XC3,0XE0,0X00,0X00,0X00,0X8F,0XFF,0X1B,0XC6,0X06,
0X4E,0X33,0XFF,0XC3,0XE0,0X00,0X00,0X00,0X87,0XFF,0X19,0XC6,0X02,0X4E,0X13,0XFF,
0X83,0XE0,0X00,0X00,0X00,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0XE0,0X00,
0X00,0X00,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,
0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,
0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,
0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,
0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,
0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,
0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,
0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,
0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,
0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,
0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,
0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,
0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,
0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,
0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,
0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,
0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,
0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,
0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,
0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,
0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,
0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,
0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,
0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,
0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,
0X00,0X04,0X0C,0X00,0X63,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,
0XE0,0XE3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0XF8,0XC3,0XE0,
0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0XDD,0XC3,0XE0,0X00,0X00,0X00,
0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0XCF,0X83,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,
0X00,0X00,0X04,0X7F,0XC7,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,
0X7F,0XC7,0X83,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0XDD,0X83,
0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0XF8,0XC3,0XE0,0X00,0X00,
0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0XE0,0XC3,0XE0,0X00,0X00,0X00,0X80,0X00,
0X02,0X00,0X00,0X04,0X0C,0X80,0XE3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,
0X04,0X04,0X60,0X43,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X04,0X30,
0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X7F,0XFF,0XC3,0XE0,0X00,
0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X7F,0XFF,0XE3,0XE0,0X00,0X00,0X00,0X80,
0X00,0X02,0X00,0X00,0X04,0X04,0X30,0X63,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,
0X00,0X04,0X04,0X18,0X63,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,
0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,
0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X08,0X03,0XE0,0X00,0X00,0X00,
0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X0C,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,
0X00,0X00,0X04,0X7F,0XFF,0XE3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,
0X7F,0XFF,0XC3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X04,0X0C,0X03,
0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X0C,0X6C,0X03,0XE0,0X00,0X00,
0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X18,0XE4,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,
0X02,0X00,0X00,0X04,0X30,0XC6,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,
0X04,0X11,0X86,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X06,
0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X63,0X38,0X03,0XE0,0X00,
0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X63,0X70,0X03,0XE0,0X00,0X00,0X00,0X80,
0X00,0X02,0X00,0X00,0X04,0X3F,0XFF,0XC3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,
0X00,0X04,0X3F,0XFF,0XE3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X33,
0XF0,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X33,0X3C,0X03,0XE0,
0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X13,0X0E,0X03,0XE0,0X00,0X00,0X00,
0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X04,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,
0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,
0X1E,0X0E,0X43,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X1F,0XFE,0X43,
0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X18,0XFC,0X43,0XE0,0X00,0X00,
0X00,0X80,0X00,0X82,0X00,0X00,0X04,0X1B,0XDE,0X43,0XE0,0X00,0XC0,0X00,0X83,0XF8,
0X82,0X00,0X00,0X04,0X3B,0X1B,0X43,0XE0,0X0F,0XF8,0X00,0X80,0X1E,0X82,0X00,0X00,
0X04,0X3F,0XFF,0XC3,0XE0,0X0F,0XFE,0X00,0X81,0XEE,0X82,0X00,0X00,0X04,0X3F,0XFF,
0XC3,0XE0,0X09,0XF2,0X00,0X81,0XE6,0X82,0X00,0X00,0X04,0X26,0X4C,0X43,0XE0,0X09,
0XF2,0X00,0X83,0X4F,0X82,0X00,0X00,0X04,0X3F,0XFC,0XC3,0XE0,0X09,0XF2,0X00,0X83,
0XFF,0X82,0X00,0X00,0X04,0X3F,0XFE,0XC3,0XE0,0X09,0XF0,0X00,0X83,0XF6,0X82,0X00,
0X00,0X04,0X39,0X36,0XC3,0XE0,0X09,0XF0,0X00,0X83,0X46,0X82,0X00,0X00,0X04,0X19,
0X30,0XC3,0XE0,0X0F,0XF0,0X00,0X83,0XF6,0X82,0X00,0X00,0X04,0X1B,0XFF,0XC3,0XE0,
0X00,0XC0,0X00,0X83,0X58,0X82,0X00,0X00,0X04,0X7F,0XFF,0X83,0XE0,0X00,0X00,0X00,
0X80,0X00,0X82,0X00,0X00,0X04,0X19,0X07,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X82,
0X00,0X00,0X04,0X19,0X7F,0X83,0XE0,0X0F,0XC6,0X00,0X80,0X94,0X82,0X07,0X38,0X04,
0X19,0X07,0XE3,0XE0,0X00,0X56,0X00,0X83,0XB5,0X82,0X07,0XA8,0X04,0X00,0X00,0X43,
0XE0,0X07,0X56,0X00,0X83,0XE5,0X82,0X06,0XE8,0X04,0X00,0X00,0X03,0XE0,0X07,0X16,
0X00,0X80,0XE7,0X02,0X07,0X68,0X04,0X00,0X80,0X63,0XE0,0X0B,0X3E,0X00,0X83,0XFE,
0X02,0X07,0XE8,0X04,0X01,0XF0,0XC3,0XE0,0X0F,0XFE,0X00,0X83,0XFE,0X02,0X0F,0XFF,
0X04,0X31,0XFD,0XC3,0XE0,0X0F,0XD6,0X00,0X80,0XE7,0X02,0X07,0XE8,0X04,0X3F,0X8F,
0X83,0XE0,0X0F,0X16,0X00,0X83,0XF5,0X82,0X06,0XE8,0X04,0X3F,0X87,0X03,0XE0,0X0F,
0XD6,0X00,0X82,0XB5,0X82,0X07,0XE8,0X04,0X30,0X8F,0X83,0XE0,0X0B,0X66,0X00,0X80,
0X94,0X82,0X07,0X28,0X04,0X30,0X7C,0XC3,0XE0,0X00,0X00,0X00,0X80,0X10,0X82,0X00,
0X28,0X04,0X3F,0XF0,0XE3,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X40,0X04,0X3F,
0XFC,0X43,0XE0,0X00,0X7E,0X00,0X81,0XFF,0X82,0X03,0XC8,0X04,0X30,0X1F,0X03,0XE0,
0X00,0X64,0X00,0X81,0XFF,0X82,0X06,0XFF,0X04,0X30,0X03,0XC3,0XE0,0X0F,0XE4,0X00,
0X81,0X01,0X02,0X0F,0XF8,0X04,0X04,0XE0,0XE3,0XE0,0X09,0XFE,0X00,0X81,0X01,0X02,
0X03,0X48,0X04,0X07,0XC0,0X43,0XE0,0X09,0XBE,0X00,0X81,0X01,0X02,0X07,0XF8,0X04,
0X7F,0XFF,0XE3,0XE0,0X09,0X80,0X00,0X81,0X01,0X02,0X01,0XCE,0X04,0X0F,0XF0,0X03,
0XE0,0X09,0XFE,0X00,0X81,0X01,0X02,0X00,0XE3,0X04,0X04,0X78,0X03,0XE0,0X0F,0XE4,
0X00,0X81,0X01,0X02,0X03,0XD0,0X04,0X04,0X1E,0X03,0XE0,0X0F,0X64,0X00,0X81,0XFF,
0X82,0X06,0X7C,0X04,0X00,0X04,0X03,0XE0,0X00,0X7E,0X00,0X81,0XFF,0X82,0X07,0XFF,
0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X02,0X41,0X04,0X00,0X00,
0X03,0XE0,0X00,0X00,0X00,0X80,0X28,0X02,0X00,0X40,0X04,0X00,0X00,0X03,0XE0,0X04,
0X80,0X00,0X81,0XA8,0X82,0X00,0XC0,0X04,0X00,0X00,0X03,0XE0,0X06,0X80,0X00,0X81,
0XEF,0X82,0X01,0XF8,0X04,0X00,0X00,0X03,0XE0,0X07,0X80,0X00,0X81,0XEB,0X02,0X07,
0X7F,0X04,0X00,0X00,0X03,0XE0,0X07,0X80,0X00,0X83,0X3B,0X02,0X06,0X43,0X04,0X00,
0X00,0X03,0XE0,0X0C,0X80,0X00,0X81,0XFF,0X82,0X00,0X43,0X04,0X00,0X00,0X03,0XE0,
0X0C,0X80,0X00,0X81,0XAE,0X82,0X00,0X40,0X04,0X00,0X00,0X03,0XE0,0X07,0X80,0X00,
0X81,0X28,0X82,0X04,0X78,0X04,0X00,0X00,0X03,0XE0,0X07,0X80,0X00,0X80,0XD8,0X02,
0X07,0X4E,0X04,0X00,0X00,0X03,0XE0,0X04,0XE0,0X00,0X83,0XFF,0X82,0X01,0XC6,0X04,
0X00,0X00,0X03,0XE0,0X04,0XFE,0X00,0X80,0XCC,0X82,0X00,0XC3,0X04,0X00,0X00,0X03,
0XE0,0X00,0X06,0X00,0X80,0X08,0X02,0X00,0X40,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,
0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,
0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,
0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,
0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,
0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,
0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,
0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,
0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,
0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,
0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,
0X00,0X00,0X04,0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,
0X00,0X00,0X03,0XE0,0X00,0X00,0X00,0X80,0X00,0X02,0X00,0X00,0X04,0X00,0X00,0X03,
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,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
0XFF,0XFF,0XFF,0XFF
};

const unsigned char  picRED[] =
{
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,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,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X3F,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X38,0X01,
0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X38,0X01,0X80,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,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,0X01,0X80,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X7F,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X7F,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X3F,0XFF,0X80,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X38,0X01,0X80,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X38,0X01,0X80,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X01,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,0X18,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X70,0XFF,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X70,0XFF,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X71,0XF7,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X71,
0XC3,0XC0,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X71,0X81,0XC0,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X71,0X81,0XC0,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X7F,0XC1,0XC0,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X7F,0XC3,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X3F,0XC3,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0X00,
0X00,0X00,0X00,0X00,0X18,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X07,0XFE,0X00,0X00,0X00,0X00,0X00,0X03,0XF8,0X00,0X00,0X00,0X00,0X07,0XFE,0X00,
0X00,0X00,0X00,0X00,0X1F,0XFE,0X00,0X00,0X00,0X00,0X03,0X98,0X00,0X00,0X00,0X00,
0X00,0X3F,0XFF,0X80,0X00,0X00,0X00,0X01,0XF8,0X00,0X00,0X00,0X00,0X00,0X7C,0X07,
0X80,0X00,0X00,0X00,0X00,0X78,0X00,0X00,0X00,0X00,0X00,0X70,0X01,0XC0,0X00,0X00,
0X00,0X00,0X38,0X00,0X00,0X00,0X00,0X00,0X70,0X01,0XC0,0X00,0X00,0X00,0X00,0XF0,
0X00,0X00,0X00,0X00,0X00,0X70,0X01,0XC0,0X00,0X00,0X00,0X03,0XFC,0X00,0X00,0X00,
0X00,0X00,0X7C,0X07,0X80,0X00,0X00,0X00,0X07,0X9E,0X00,0X00,0X00,0X00,0X00,0X3F,
0XFF,0X80,0X00,0X00,0X00,0X06,0X06,0X00,0X00,0X00,0X00,0X00,0X1F,0XFE,0X00,0X00,
0X00,0X00,0X06,0X06,0X00,0X00,0X00,0X00,0X00,0X03,0XF8,0X00,0X00,0X00,0X00,0X07,
0XFE,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,0XFC,0X00,0X00,
0X00,0X00,0X00,0X0F,0X00,0X80,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X1F,0XC3,0X80,0X00,0X00,0X00,0X00,0X06,0X00,0X00,0X00,0X00,0X00,0X3F,0XCF,0X80,
0X00,0X00,0X00,0X00,0X06,0X00,0X00,0X00,0X00,0X00,0X39,0XFF,0X00,0X00,0X00,0X00,
0X07,0XFE,0X00,0X00,0X00,0X00,0X00,0X70,0XFE,0X00,0X00,0X00,0X00,0X07,0XFE,0X00,
0X00,0X00,0X00,0X00,0X70,0XF8,0X00,0X00,0X00,0X00,0X06,0X06,0X00,0X00,0X00,0X00,
0X00,0X70,0X60,0X00,0X00,0X00,0X00,0X02,0X06,0X00,0X00,0X00,0X00,0X00,0X70,0X60,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X70,0XE0,0X00,0X0F,0XFF,
0XF0,0X04,0X02,0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X0F,0XFF,0XF0,0X07,0X0E,
0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X0F,0XFF,0XE0,0X03,0XFC,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0XF8,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X01,0XF8,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X03,
0XE0,0X00,0X07,0XBE,0X00,0X00,0X00,0X00,0X00,0X70,0X00,0X00,0X07,0XF0,0X00,0X07,
0X0E,0X00,0X00,0X00,0X00,0X00,0X70,0XE0,0X00,0X0F,0XF8,0X00,0X04,0X02,0X00,0X00,
0X00,0X00,0X00,0X70,0XE0,0X00,0X0E,0X38,0X00,0X00,0X06,0X00,0X00,0X00,0X00,0X00,
0X70,0XE0,0X00,0X0C,0X1C,0X00,0X03,0XE6,0X00,0X00,0X00,0X00,0X00,0X70,0XE0,0X00,
0X0C,0X1C,0X00,0X07,0XF6,0X00,0X00,0X00,0X00,0X00,0X70,0XE0,0X00,0X0C,0X1C,0X00,
0X06,0X3E,0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X0C,0X1C,0X00,0X06,0X1E,0X00,
0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X0F,0XFF,0XF0,0X06,0X0E,0X00,0X00,0X00,0X00,
0X00,0X7F,0XFF,0X80,0X0F,0XFF,0XF0,0X02,0X06,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X0F,0XFF,0XF0,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X06,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X06,
0X00,0X00,0X00,0X00,0X00,0X03,0XF8,0X00,0X00,0X00,0X00,0X07,0XFE,0X00,0X00,0X00,
0X00,0X00,0X0F,0XFE,0X00,0X04,0X0F,0XC0,0X07,0XFE,0X00,0X00,0X00,0X00,0X00,0X1F,
0XFF,0X00,0X0E,0X1F,0XE0,0X06,0X06,0X00,0X00,0X00,0X00,0X00,0X3E,0X0F,0X00,0X0E,
0X1F,0XE0,0X02,0X06,0X00,0X00,0X00,0X00,0X00,0X38,0X03,0X80,0X1C,0X3C,0X70,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X30,0X03,0X80,0X1C,0X38,0X70,0X00,0X06,0X00,0X00,
0X00,0X00,0X00,0X70,0X01,0X80,0X1C,0X78,0X70,0X03,0XE6,0X00,0X00,0X00,0X00,0X00,
0X70,0X01,0X80,0X1C,0X70,0X70,0X07,0XF6,0X00,0X00,0X00,0X00,0X00,0X70,0X01,0X80,
0X0F,0XF0,0X70,0X06,0X3E,0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X0F,0XE0,0XE0,
0X06,0X1E,0X00,0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X07,0XC1,0XE0,0X06,0X0E,0X00,
0X00,0X00,0X00,0X00,0X7F,0XFF,0X80,0X00,0X00,0X40,0X02,0X06,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,0X00,
0X00,0X00,0X00,0X00
};

void setup(void)
{
    Serial.begin(115200);
    //Select the corresponding pins
    eink.begin(EINK_CS, Font_CS, EINK_DC, BUSY);

    /*********Only show the black images********/
    //Clear the screen and display white
    eink.fillScreen(WHITE);
    //Show a picture
    eink.drawPicture(picBW, NULL);
    //Refresh screen display
    eink.flush();
    delay(3000);

    /*********Only show the red image********/
    //Clear the screen and display white
    eink.fillScreen(WHITE);
    //Show a picture
    eink.drawPicture(NULL, picRED);
    //Refresh screen display
    eink.flush();
    delay(3000);

    /*********Show all images********/
    //Clear the screen and display white
    eink.fillScreen(WHITE);
    //Show a picture
    eink.drawPicture(picBW, picRED);
    //Refresh screen display
    eink.flush();
}

void loop(void)
{
    delay(3000);
}

'''Function: '''Display the black-and-white part of the picture first, return to show the red part, and finally display the full tri-color picture. '''Effect: ''' Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

Imagematrix Tutorial

Due to the tri-color ePaper can display both Black-and-white and red pictures (the threecolor image shown on the screen is actually a combination of two pictures), so you need to do two imagematrix, and the two imagematrix method is exactly the same.After imagematrix is finished, copy the two binary arrays to the array in the example. This screen does not support grayscale, so you need to make 250 * 122 resolution pure black-and-white pictures, and saved as.bmp or jpg files.

Imagematrix Method The Lcd-image-converter.exe software can be used in the imagematrix. Tip: The software in the tool folder of e-paper compressed package, the steps are as follows:

①Open a picture "xxx.jpg". File->open

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

②Set to rotate the picture 180 °. image->rotate->180

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

③Open the menu to set the output format. Options->conversion

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

④ Set the parameters according to the following figure.

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

⑤Click "Show Preview" after setting the parameters.

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

⑥ Replaces the array in the example with binaries in the dialog box.

Fig3:FireBeetle Covers-ePaper Black\&White\&Red Display Module(SPI)

⑦Then, download the program to mainboard and the image will be displayed on the screen.

Compatibility Test

MCU Pass Fail No Test Note
FireBeetle-Board328P
FireBeetle-ESP32
FireBeetle-ESP8266
Leonardo

Dimension Figure

Fig1:FireBeetle Covers-ePaper Tircolor Display Module(SPI)Dmension Figure

FAQ

Q&A Some general Arduino Problems/FAQ/Tips
Q Is it normal to blink for a long time when refreshing?
A The electronic ink screen has many advantages for reading, there are also several difficult to overcome defects, including the splash screen and shadow. After turning the page for many times the ink will remain, in order to solve this problem, the manufacturer designed the full-screen refresh, but another problem occurred, the screen will flash for a while in full-screen refresh process.

For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

More Documents