Here in this post/tutoriqal i am going to teach you how to display images on Graphical lcd using Pic Microcontroller(pic16F877). I am using JHD12864E graphical LcD in my Project. JHD12864E is 128x64 dimension lcd. 128x64 means it has 128 coulombs and 64 rows. So total dots it has is 128x64=8192. You can display an image of maximum size(Dimension = 128x64) with in this range. Some notable things before starting the tutorial.
I am going to display five images on graphical lcd. Images which i am going to display on lcd are below. I created bitmaps of all the images given below.
- You can only display images of .bmp format. Images bitmaps are obtained only by .bmp format. Graphical lcds consists of dots, we have to display our images on these dots and .bmp image is also comprised of dots. So can easily find bits of images of .bmp format and can map them on Graphical lcd.
- You can only display black and white images(Monochrome images bitmap is hard to generate. No software is found for generating bitmap of monochrome images on internet).
- If you want to display images of size greater than 128x64 than first change the size of the image. I used an online image dimension converter(My image size is 960x1280. I converted it to 128x64 using an online image dimension converter. You can found many tools to convert images just Google for it).
I am going to display five images on graphical lcd. Images which i am going to display on lcd are below. I created bitmaps of all the images given below.
Images of dimension 128x64 and format .bmp Displayed on Graphical Lcd(JHD12864E)
The first pic which i am going to display is mine(The Admin). Its original size is 960x1280, format is .jpg and its a monochrome pic. I converted it to black and white, format .bmp and size is reduced to 128x64 using an online software for image editing.
Jpg image converted to bmp format using The Dot Factory
Now when you converted images its time to find bitmaps. Bitmaps are found using special software's. I used an open source software The Dot Factory. Just give the path of the image and click generate it will generate bitmap with in a second. Download the software from here.
Dot factory not only generates bitmaps it also gives you the dimension of the newly generated bitmaps. Once bitmaps code is generated you can copy them from their and place them in your code.
Pic16f877 microcontroller is used to display images on jhd12864E graphical lcd. Port-B is used to send data and commands to graphical lcd. It is connected to data pins D0-D7 of Graphical lcd. Lcd controlling pins en(Enable),rs(Register-select),rw(read-write) are connected to Port-D pins#7,6,5. Graphical lcd's First-Half selection line is connected to Port-D Pin#4 and second-half selection line is connected to Port-C Pin#4. Circuit diagram of the project is given below.
Pic16f877 microcontroller is used to display images on jhd12864E graphical lcd. Port-B is used to send data and commands to graphical lcd. It is connected to data pins D0-D7 of Graphical lcd. Lcd controlling pins en(Enable),rs(Register-select),rw(read-write) are connected to Port-D pins#7,6,5. Graphical lcd's First-Half selection line is connected to Port-D Pin#4 and second-half selection line is connected to Port-C Pin#4. Circuit diagram of the project is given below.
Coming to the code portion. Code is written in C++ language using MPLAB-IDE and HIGH-TECH C compiler is used to compile and generate hex code of the project. Functions in the code with their functions are explained below....
void delay(unsigned int d)
Delay Function is used to generate some arbitrary delay to be used in the code where necessary.
void lcdcmd(char value)
This function is sending commands to lcd. It not only send commands but also manipulate the lcd controlling pins(en,rw,rs) high and low to succesfully execute the commnad.
void lcddata(char data1)
This function is sending data to lcd. It not only send data but also manipulate the lcd controlling pins(en,rw,rs) high and low to succesfully display data on lcd.
void CS1()
This function is selecting first half of JHD12864E graphical lcd.
void CS2()
This function is selecting Second half of JHD12864E graphical lcd.
void createimage(const char *image)
Create image function is creating image on JHD12864E graphical lcd.
All the statements of the code are well commented and explained. I hope you can easily understand what each statement means.
void delay(unsigned int d)
Delay Function is used to generate some arbitrary delay to be used in the code where necessary.
void lcdcmd(char value)
This function is sending commands to lcd. It not only send commands but also manipulate the lcd controlling pins(en,rw,rs) high and low to succesfully execute the commnad.
void lcddata(char data1)
This function is sending data to lcd. It not only send data but also manipulate the lcd controlling pins(en,rw,rs) high and low to succesfully display data on lcd.
void CS1()
This function is selecting first half of JHD12864E graphical lcd.
void CS2()
This function is selecting Second half of JHD12864E graphical lcd.
void createimage(const char *image)
Create image function is creating image on JHD12864E graphical lcd.
All the statements of the code are well commented and explained. I hope you can easily understand what each statement means.
Project Code
Download the project code from the links given at the bottom of the Post
#include< htc.h>
#define rs RD7
#define rw RD6
#define en RD5
#define cs1 RD4
#define cs2 RC4
const char Image[1024] ={0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0x00, 0x80, 0xC0, 0x30, 0x58, 0x28, 0xB0, 0xD4, 0x54, 0x90, 0x68, 0xCC, 0x9E, 0xF2, 0xF2, 0xF2, 0x2C, 0x68, 0x20, 0xAC, 0x68, 0x4A, 0x50, 0x50, 0x18, 0x70, 0x71, 0x40, 0x09, 0xA8, 0xB0, 0x94, 0xD4, 0x64, 0x68, 0xAC, 0x80, 0xF1, 0x68, 0x6C, 0xAC, 0xB0, 0xD8, 0x8C, 0x8E, 0x32, 0x30, 0x32, 0x9C, 0xF8, 0xB4, 0x60, 0xD0, 0x60, 0x00, 0x00, 0xC0, 0x40, 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, 0x08, 0x18, 0x25, 0x57, 0x0C, 0x4B, 0x19, 0x7A, 0x95, 0xDB, 0xA4, 0x33, 0x2F, 0x14, 0x88, 0x43, 0x41, 0x24, 0xA2, 0xD0, 0x33, 0x57, 0x0F, 0xF3, 0x72, 0x33, 0x1B, 0xFD, 0x6D, 0x4C, 0xA6, 0x59, 0x23, 0x2E, 0x3A, 0x03, 0x05, 0x05, 0x05, 0x01, 0x01, 0x04, 0x0C, 0x0B, 0x03, 0x04, 0x8A, 0x05, 0x05, 0x0F, 0x0A, 0x13, 0x15, 0x14, 0x06, 0x05, 0x13, 0x00, 0x04, 0x00, 0x00, 0x01, 0x00, 0x01, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
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, 0x00, 0x00, 0x04, 0x01, 0x02, 0x08, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x80, 0x18, 0x00, 0x40, 0x40, 0x84, 0xEA, 0xA6, 0x74, 0x55, 0x14, 0x35, 0x05, 0x08, 0x22, 0x3D, 0x03, 0x1C, 0x8F, 0x02, 0x10, 0x98, 0x88, 0x80, 0x90, 0x58, 0x68, 0x68, 0x78, 0x50, 0x90, 0x60, 0xB0, 0x60, 0x40, 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, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x02, 0x08, 0x0A, 0x8B, 0x08, 0x85, 0x02, 0x02, 0xC0, 0x40, 0x02, 0xA1, 0x60, 0xA3, 0x20, 0x63, 0xDA, 0xD1, 0x69, 0x50, 0x50, 0xE8, 0xA8, 0xC8, 0xE8, 0xA8, 0xA8, 0x19, 0xE9, 0xB0, 0xA0, 0x69, 0x49, 0x55, 0x12, 0x2D, 0x45, 0x54, 0x94, 0xC8, 0x20, 0x80, 0x40, 0x30, 0x00, 0xC0, 0x00, 0x10, 0x10, 0x00, 0x30, 0x40, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x00, 0xB0, 0x80, 0xA0, 0xA0, 0x00, 0x00, 0xC0, 0x40, 0x00, 0xA0,
0x00, 0x00, 0x00, 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, 0x00, 0x40, 0x40, 0x80, 0xA0, 0x60, 0x40, 0x80, 0xA0, 0x80, 0x00, 0xA0, 0x80, 0x20, 0xA0, 0x80, 0x80, 0x40, 0x20, 0xA0, 0xE0, 0x50, 0xA0, 0x28, 0x88, 0x40, 0x60, 0x00, 0x91, 0x19, 0x20, 0x11, 0x4A, 0x35, 0xAF, 0x52, 0xA2, 0xA2, 0xA5, 0x03, 0x84, 0x00, 0x40, 0x85, 0x05, 0x02, 0x04, 0x03, 0x05, 0x02, 0x22, 0x25, 0x26, 0x80, 0x44, 0x45, 0x03, 0xB2, 0x60, 0x03, 0x92, 0x23, 0x12, 0x10, 0x21, 0x00, 0x11, 0x00, 0x10, 0x10, 0x20, 0x30, 0x00, 0x08, 0x10, 0x0A, 0x00, 0x00, 0x04, 0x80, 0x80, 0x80, 0x60, 0x00, 0x08, 0x00, 0x04, 0x0C, 0x15, 0x13, 0x1A, 0x15, 0x0B, 0x34, 0xB5, 0xAD, 0x68, 0x54, 0x17, 0xDA,
0x00, 0x00, 0x00, 0x00, 0x80, 0xA0, 0x20, 0x40, 0xA0, 0x30, 0xA0, 0xC0, 0x30, 0xDC, 0xA8, 0x4C, 0x92, 0x92, 0x92, 0x92, 0x92, 0x92, 0x92, 0x92, 0xFE, 0xFF, 0xFE, 0xFF, 0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFE, 0xFE, 0x8C, 0xD7, 0xD2, 0x70, 0x69, 0x08, 0x00, 0x51, 0x01, 0x04, 0x04, 0x02, 0x01, 0x02, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x20, 0x10, 0x10, 0x10, 0x10, 0x02, 0x04, 0x09, 0x04, 0x01, 0x0A, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02,
0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 0xFE, 0xFE, 0xFF, 0xFE, 0xFF, 0xFF, 0xFE, 0xFF, 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, 0xFF, 0xFE, 0xFF, 0xFE, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0x21, 0x18, 0x20, 0x08, 0x08, 0x08, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 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
};
const char Image1[1024] ={0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x40, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x20, 0x10, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x7E, 0xD1, 0x10, 0x10, 0x20, 0xE0, 0x60, 0x60, 0xE0, 0xE3, 0xFF, 0xDF, 0xFC, 0xFC, 0xFC, 0xF8, 0x78, 0x30, 0x20, 0x60, 0x60, 0xC0, 0x40, 0xC0, 0x40, 0xC0, 0x40, 0xC0, 0x40, 0x40, 0x80, 0xC0, 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, 0x00, 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, 0xFE, 0x36, 0x02, 0x03, 0x01, 0x01, 0x18, 0xF9, 0xC1, 0x03, 0xF7, 0xE6, 0xFE, 0xFC, 0xF8, 0x50, 0x60, 0xE1, 0xC1, 0xC1, 0xC3, 0xF6, 0xDE, 0xC6, 0x04, 0x0C, 0x0C, 0x08, 0x08, 0x18, 0x1F, 0x3C, 0x7E, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE7, 0x60, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x01, 0x05, 0x01, 0x03, 0x02, 0x2E, 0x3C, 0xF8, 0xF8, 0xF0, 0xE0, 0xE0, 0xE0, 0xC0, 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x18, 0x38, 0x78, 0x78, 0xF8, 0xF8, 0xF8, 0xE8, 0xE0, 0xE0, 0xC0, 0xC0, 0xC0, 0x80, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xF0, 0xFF, 0xFF, 0xF8, 0x40, 0x00, 0x00, 0x00, 0x06, 0x03, 0x00, 0x12, 0x0F, 0xDF, 0xE7, 0xFE, 0x0F, 0x03, 0x00, 0x00, 0x00, 0x03, 0x0D, 0x9F, 0xBF, 0xFF, 0x7F, 0xE0, 0x71, 0x2F, 0x13, 0x11, 0x12, 0x30, 0x9E, 0x9E, 0xFC, 0xF8, 0xFB, 0xFF, 0xFC, 0xFE, 0x9A, 0x32, 0x62, 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, 0x01, 0x07, 0xDF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xB3, 0x47, 0xFE, 0xFC, 0xF0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x05, 0x05, 0x15, 0x37, 0x37, 0x77, 0xF7, 0xEF, 0xEF, 0xFF, 0xFF, 0xEF, 0xFF, 0xDE, 0xFE, 0xFC, 0xFC, 0xF8, 0xF0, 0xF0, 0xE0, 0x60, 0x20, 0x00, 0x10, 0x08, 0x44, 0x42, 0xD9, 0xB7, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF, 0x81, 0x00, 0x38, 0x78, 0x3C, 0x1C, 0x0E, 0x06, 0x02, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x02, 0x03, 0x01, 0x01, 0x81, 0x80, 0x80, 0xFC, 0xC3, 0xE0, 0x70, 0x08, 0xFE, 0xFF, 0x83, 0x78, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0x78, 0x00, 0x00, 0x00, 0x00, 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, 0xFF, 0xFD, 0xFE, 0xF9, 0xDF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x40, 0x80, 0x80, 0xC0, 0xE4, 0xEC, 0xFC, 0xFC, 0xFE, 0xFC, 0xFC, 0xFC, 0xFC, 0xFC, 0xF8, 0xF9, 0xF9, 0xFD, 0xFF, 0xF7, 0xE7, 0xE5, 0xC7, 0xC3, 0x83, 0x83, 0x81, 0x01, 0x02, 0x04, 0x0C, 0x18, 0x10, 0x30, 0x60, 0xC0, 0x80, 0x00, 0x01, 0x03, 0x07, 0x1F, 0x1F, 0x7F, 0x7C, 0xF8, 0xF8, 0xF8, 0x70, 0x60, 0x60, 0x60, 0x40, 0x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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x02, 0x02, 0x05, 0x05, 0x05, 0x09, 0x08, 0x08, 0x08, 0x0C, 0x1C, 0x14, 0x1F, 0x3B, 0x3C, 0x3F, 0x7F, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x3F, 0x1F, 0x0F, 0x0F, 0x07, 0x07, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
const char Image2[1024] ={0x00, 0x00, 0xC0, 0xB8, 0x4A, 0xB5, 0xD5, 0x7A, 0xAD, 0xFA, 0xCF, 0xFD, 0xEE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFB, 0xBE, 0xF5, 0xAB, 0xFF, 0xDF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0xFF, 0x6F, 0xFF, 0xBD, 0xF7, 0xEF, 0xBB, 0xEF, 0xDB, 0xBF, 0xEE, 0x7F, 0xDD, 0x7A, 0xF5, 0xE9, 0xD6, 0xEC, 0xA8, 0x50, 0xB0, 0x40, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x80, 0xBA, 0xE5, 0xFA, 0xDF, 0xF5, 0x7A, 0xDF, 0xF6, 0x5B, 0xEF, 0xBD, 0xEF, 0x7F, 0xFF, 0xFF, 0xDF, 0xFF, 0xFF, 0x7F, 0x5F, 0x1F, 0x57, 0x07, 0x15, 0x07, 0x01, 0x07, 0x01, 0x06, 0x0B, 0x07, 0x0F, 0x17, 0x0F, 0x2F, 0x5F, 0x3F, 0xDF, 0xBF, 0xFD, 0xB7, 0xFD, 0xEE, 0xFF, 0xBD, 0xF6, 0xFB, 0xEF, 0xFE, 0xBB, 0xFF, 0xF5, 0xDF, 0xAE, 0xFF, 0xBB, 0xEF, 0xFB, 0xDE, 0x75, 0xDE, 0x75, 0xDB, 0xB4, 0xEC, 0x50, 0xA8, 0x50, 0xA0, 0x40, 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, 0xBE, 0xFF, 0xFE, 0xFF, 0xDB, 0xFF, 0xFA, 0xFF, 0xFF, 0x7F, 0xD7, 0x3D, 0xEB, 0x5E, 0xE3, 0x3C, 0x17, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x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E, 0x5F, 0x3E, 0x1F, 0x5E, 0x1F, 0x1D, 0x3E, 0x17, 0x1E, 0x16, 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, 0x00, 0x00, 0x0F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFD, 0xFF, 0xAE, 0x5C, 0x1E, 0x36, 0x27, 0x46, 0x4B, 0x2F, 0x02, 0x25, 0x10, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x40, 0x00, 0x00, 0xA2, 0x09, 0x54, 0x00, 0xAB, 0x2F, 0xBF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xDB, 0xEF, 0xFF, 0xFF, 0x7F, 0xDF, 0x5F, 0xBF, 0x5F, 0x3F, 0x57, 0x4F, 0x5F, 0x0E, 0x1F, 0x1F, 0x2D, 0x1E, 0x56, 0x1C, 0x2C, 0x54, 0x08, 0x28, 0x08, 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, 0x2F, 0xBF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFD, 0xF0, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x24, 0x00, 0x2A, 0x00, 0x00, 0x08, 0x01, 0x00, 0x00, 0x02, 0x40, 0x0A, 0x80, 0x55, 0x00, 0xAA, 0xA0, 0xFA, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x97, 0xF5, 0x6F, 0xBF, 0x57, 0x3F, 0xAF, 0x1D, 0x75, 0x16, 0xA8, 0x42, 0x14, 0x40, 0x08, 0x00, 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, 0x01, 0x07, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFC, 0xF8, 0xF0, 0xE0, 0xC0, 0xC0, 0x80, 0x00, 0x00, 0x20, 0x20, 0xA0, 0x32, 0xA0, 0x39, 0xA8, 0x98, 0x5C, 0xD8, 0x4C, 0xA0, 0x56, 0x00, 0x2A, 0x01, 0xA8, 0x02, 0xA8, 0xE4, 0x69, 0xB4, 0x2E, 0xAF, 0x5F, 0xBF, 0xBF, 0x7F, 0xFF, 0x7F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xAF, 0x7B, 0x0F, 0xAF, 0x1A, 0xB5, 0x62, 0xC9, 0x84, 0x21, 0x04, 0x11, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x3F, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFC, 0xFC, 0xF8, 0xF8, 0xF1, 0xE0, 0xF2, 0xE1, 0xE8, 0x62, 0x68, 0x31, 0xA8, 0xE8, 0xBA, 0xEC, 0xD6, 0x6F, 0xAB, 0xB5, 0xAA, 0xF5, 0xAA, 0x55, 0xAA, 0x6A, 0xDA, 0xA5, 0x5A, 0xED, 0xF6, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x5C, 0x01, 0xAA, 0x04, 0x40, 0x12, 0x00, 0x04, 0x80, 0x11, 0x02, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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
};
const char Image3[1024] ={0x00, 0x00, 0x00, 0x00, 0xC0, 0xD0, 0x80, 0x80, 0x80, 0x80, 0x40, 0x40, 0x00, 0x40, 0x60, 0x80, 0x80, 0x80, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, 0x80, 0x80, 0x00, 0x80, 0x80, 0x00, 0x80, 0x80, 0xC0, 0xC0, 0x00, 0x00, 0x00, 0x80, 0x80, 0xC0, 0x40, 0x60, 0x20, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x38, 0xEC, 0xEC, 0x7C, 0x18, 0x00, 0x00, 0x00, 0x00, 0x7E, 0xFF, 0xFC, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x70, 0x04, 0x02, 0x13, 0x10, 0x08, 0x00, 0x0C, 0x0E, 0x0C, 0x04, 0x0C, 0x20, 0x22, 0x33, 0x13, 0x0B, 0x05, 0x06, 0x06, 0x04, 0x07, 0x1E, 0xF7, 0x70, 0x38, 0x3C, 0x33, 0x12, 0x09, 0x0D, 0x05, 0x06, 0x06, 0x02, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x20, 0x10, 0x10, 0x10, 0x18, 0x08, 0x04, 0x04, 0x06, 0x02, 0x03, 0x01, 0x00, 0x40, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x2F, 0xFF, 0xFF, 0xE8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x80, 0xC0, 0x40, 0x40, 0x60, 0x20, 0x30, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x3F, 0x7E, 0xF8, 0xF0, 0x80, 0x00, 0x00, 0x10, 0x38, 0xE0, 0x00, 0x00, 0x80, 0xF0, 0xC0, 0xB8, 0xE0, 0xC0, 0x00, 0x00, 0x00, 0x1E, 0x7F, 0xE7, 0xC7, 0x87, 0x8F, 0x8F, 0x9F, 0xDE, 0xFC, 0xFC, 0xF8, 0x30, 0x00, 0x00, 0x00, 0x16, 0x31, 0x20, 0x30, 0x00, 0xC0, 0x40, 0x60, 0x30, 0x30, 0x3F, 0xFF, 0xFF, 0x8C, 0x0C, 0x04, 0x06, 0x02, 0x03, 0x03, 0x41, 0xF9, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x9F, 0x18, 0x30, 0x30, 0x00, 0x00, 0x40, 0x60, 0xC0, 0x40, 0x00, 0x00, 0x03, 0x0F, 0x7F, 0xFE, 0xF0, 0xC0, 0x00, 0x01, 0x03, 0x81, 0xC3, 0xC0, 0xE0, 0xF1, 0xF1, 0xF8, 0xB8, 0xBC, 0x9C, 0x9E, 0x9E, 0x8F, 0x8F, 0x87, 0xC7, 0x87, 0x83, 0xC1, 0x81, 0xC0, 0xC0, 0xC0, 0x80, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xC0, 0xFF, 0xFF, 0xFF, 0x80, 0x00, 0x00, 0x00, 0x00, 0x68, 0x63, 0x44, 0xCA, 0x59, 0x59, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x60, 0x01, 0x03, 0x03, 0x03, 0x06, 0x3C, 0x60, 0x32, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0xE0, 0xF7, 0x7F, 0x1F, 0x3E, 0x78, 0xF0, 0xE7, 0xC7, 0x87, 0x03, 0x07, 0x07, 0x03, 0x07, 0x03, 0x07, 0x03, 0x03, 0x03, 0x83, 0xC3, 0xE3, 0xF3, 0xF3, 0x7B, 0x3B, 0x3B, 0x3F, 0x1F, 0x1F, 0x1F, 0x1F, 0x0F, 0x0F, 0x0F, 0x0F, 0x07, 0x07, 0x03, 0x03, 0x03, 0x03, 0x00, 0x02, 0x7F, 0xFF, 0xFD, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x1E, 0x3C, 0xF8, 0xF0, 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, 0xF8, 0xDF, 0x81, 0x00, 0x00, 0x80, 0x80, 0x80, 0xC0, 0xC0, 0xE0, 0xE0, 0xF0, 0xF8, 0x78, 0x3C, 0x1E, 0x0F, 0x07, 0x07, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x83, 0xC7, 0xC7, 0x0E, 0x1E, 0x1C, 0x3C, 0x38, 0x78, 0x70, 0xF0, 0xFC, 0xFF, 0xFB, 0xF1, 0xE0, 0xE0, 0xE0, 0xE0, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x0F, 0x3F, 0x7E, 0x78, 0xF0, 0xF0, 0xE0, 0xE0, 0xE0, 0xE0, 0xE0, 0x70, 0x70, 0x38, 0x38, 0x0F, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x03, 0x03, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30, 0x10, 0x10, 0x10, 0x18, 0x08, 0x08, 0x0C, 0x04, 0x02, 0x03, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x03, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x1E, 0x19, 0x18, 0x18, 0x08, 0x08, 0x04, 0x04, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0E, 0x0E, 0x0F, 0x1E, 0x1E, 0x0C, 0x06, 0x07, 0x0F, 0x1F, 0x0E, 0x0E, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 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
};
void delay(unsigned int d){
unsigned int i,j;
for(i=0;i< d;i++)
for(j=0;j< 3;j++);
}
void lcdcmd(char value){
PORTB=value;
rw=0;
rs=0;
en=0;
delay(300);
en=1;
delay(300);
en=0;
}
void lcddata(char data1)
{
PORTB=data1;
rw=0;
rs=1;
en=0;
delay(300);
en=1;
delay(300);
en=0;
}
void CS1(){
cs1=1; //Selecting 1 Half
delay(5);
cs2=0; //Switch off other half
}
void CS2(){
cs1=0; //Switch off First Half
delay(5);
cs2=1; //Selecting 2nd Half
}
void createimage(const char *image){
unsigned int i=0,j=0;
int page[]={0xB8,0xB9,0xBA,0xBB,0xBC,0xBD,0xBE,0xBF};
delay(10);
lcdcmd(0xC0); //Start line, (64 rows) selects from where to start(1 line)
for(i=0;i<=7;i++){
CS1();
lcdcmd(page[i]);
lcdcmd(0x40); //Setting y-address
for(j=0+(i*128);j<=63+(i*128);j++){
lcddata(image[j]);
}
CS2();
lcdcmd(page[i]);
lcdcmd(0x40); //Setting y-address
for(j=64+(i*128);j<=127+(i*128);j++){
lcddata(image[j]);
}
j=0;
}
}
void main(){
TRISB=0x00; //Port-B as Output Port
TRISD=0x00; //Port-D as Output Port
TRISD=0x00; //Port-D as Output Port
TRISC=0x00; //Port-C as Output Port
delay(300);
createimage(&Image[0]);
delay(10000);
createimage(&Image1[0]);
delay(10000);
createimage(&Image2[0]);
delay(10000);
createimage(&Image3[0]);
delay(10000);
createimage(&Image5[0]);
delay(10000);
delay(10000);
}
No comments:
Post a Comment