PIC18 LaurTec Library  3.2.0
Open Source C Library for PIC18 Microcontrollers based on C18 - XC8 Compilers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
GLCD_KS0108B.h
Go to the documentation of this file.
1 /*******************************************************************************
2 
3 Author : Mauro Laurenti
4 Version : 1.1
5 Created on Date : 26/05/2012
6 Last update : 25/01/2013
7 
8 CopyRight 2006-2013 all rights are reserved
9 
10 ********************************************************
11 SOFTWARE LICENSE AGREEMENT
12 ********************************************************
13 
14 The usage of the supplied software imply the acceptance of the following license.
15 
16 The software supplied herewith by Mauro Laurenti (the Author) is intended for
17 use solely and exclusively on Microchip PIC Microcontroller (registered mark).
18 The software is owned by the Author, and is protected under applicable
19 copyright laws. All rights are reserved.
20 Any use in violation of the foregoing restrictions may subject the
21 user to criminal sanctions under applicable laws, as well as to civil liability
22 for the breach of the terms and conditions of this license.
23 Commercial use is forbidden without a written acknowledgement with the Author.
24 Personal or educational use is allowed if the application containing the
25 following software doesn't aim to commercial use or monetary earning of any kind.
26 
27 THIS SOFTWARE IS PROVIDED IN AN "AS IS" CONDITION. NO WARRANTIES,
28 WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED
29 TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
30 PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE AUTHOR SHALL NOT,
31 IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR
32 CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.
33 
34 ********************************************************
35 PURPOSES
36 ********************************************************
37 
38 
39 This library contains all the functions that are handy for controlling
40 a GLCD display based on KS0108B controller.
41 
42 More details and pictures can be downloaded from the Brief Note BN0016(www.LaurTec.com)
43 
44 *******************************************************************************/
45 
46 #ifndef GLCD_K0108B_H
47 #define GLCD_K0108B_H
48 
49 #ifdef __XC8
50  #include <xc.h>
51  #include <stdlib.h>
52  #define NOP_DELAY _delay(3)
53 #endif
54 
55 #ifndef __XC8
56  #include <ctype.h>
57  #include <delays.h>
58  #define NOP_DELAY Delay1TCY()
59 #endif
60 
61 
62 
63 
64 #include <delay.h>
65 
66 // Prototype for itoa from ctype lib
67 //char *itoa (int value, char *s);
68 
69 //**************************************************
70 // GLCD pin constants
71 //**************************************************
72 
73  #define GLCD_DATA_WRITE LATD
74  #define GLCD_DATA_READ PORTD
75  #define GLCD_DATA_DIRECTION TRISD
76 
77  #define GLCD_D_I LATAbits.LATA3
78  #define GLCD_R_W LATAbits.LATA4
79  #define GLCD_E LATAbits.LATA5
80  #define GLCD_CS1 LATEbits.LATE0
81  #define GLCD_CS2 LATEbits.LATE1
82  #define GLCD_RST LATEbits.LATE2
83  #define GLCD_LED LATCbits.LATC1
84 
85 //**************************************************
86 // GLCD Controller constants
87 //**************************************************
88 
89 #define INPUT 0xFF
90 #define OUTPUT 0x00
91 
92 #define NUMBER_OF_PAGES 8
93 #define X_RESOLUTION 128
94 #define Y_RESOLUTION 64
95 
96 #define CONTROLLER_MAX_X 64
97 
98 
99 //**************************************************
100 // Font Tables and Pictures
101 //**************************************************
102 
103 #define ENABLE_FONT_5x7
104 
105 #define ENABLE_LOGO_1
106 
107 //**************************************************
108 // GLCD Font Size
109 //**************************************************
110 
111 #define GLCD_FONT_WIDTH_5 5
112 #define GLCD_FONT_HEIGTH_7 7
113 
114 #define GLCD_FONT_SPACE 1
115 
116 
117 //**************************************************
118 // GLCD command constants
119 //**************************************************
120 
121 #define COMM_DISPLAY_ON 0b00111111
122 #define COMM_DISPLAY_OFF 0b00111110
123 
124 #define COMM_PAGE_SELECT 0b10111000
125 
126 #define COMM_ADDRESS_SELECT 0b01000000
127 
128 #define COMM_START_LINE 0b11000000
129 
130 
131 //**************************************************
132 // GLCD Status Flag
133 //**************************************************
134 
135 #define GLCD_BUSY_FLAG 0x80
136 
137 
138 
139 //**************************************************
140 // General Purpose constants
141 //**************************************************
142 
143 #define TURN_ON_LED_GLCD 0b00000001
144 #define TURN_OFF_LED_GLCD 0b00000000
145 
146 #define TURN_ON_DISPLAY 0b00000001
147 #define TURN_OFF_DISPLAY 0b00000000
148 
149 #define HIGH_GLCD 0b00000001
150 #define LOW_GLCD 0b00000000
151 
152 #define ENABLE_GLCD 0b00000001
153 #define DISABLE_GLCD 0b00000000
154 
155 #define ENABLE_RESET_GLCD 0b00000000
156 #define DISABLE_RESET_GLCD 0b00000001
157 
158 #define GLCD_CHIP_SELECT_1 0x00
159 #define GLCD_CHIP_SELECT_2 0x01
160 
161 #define FILLING_WHITE 0x00
162 #define FILLING_BLACK 0xFF
163 
164 
165 
166 //****************************************************************************************************
167 // PUBLIC FUNCTIONS
168 //****************************************************************************************************
169 
170 
171 
181 void initialize_GLCD (void);
182 
183 
192 void clear_GLCD (unsigned char filling_color);
193 
194 
205 void backlight_GLCD(unsigned char backlight);
206 
207 
217 void set_display_GLCD (unsigned char display_status);
218 
219 
228 void set_vertical_offset_GLCD (unsigned char vertical_offset);
229 
230 
244 void plot_xy_GLCD (unsigned char x_pos, unsigned char y_pos, unsigned char filling_color);
245 
246 
264 void draw_horizontal_line_GLCD (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char filling_color);
265 
266 
284 void draw_vertical_line_GLCD (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char filling_color);
285 
286 
306 void draw_window_GLCD (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char height, unsigned char filling_color);
307 
308 
328 void draw_box_GLCD (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char height, unsigned char filling_color);
329 
330 
339 #ifndef __XC8
340 void draw_picture_GLCD (rom unsigned char * picture_table);
341 #endif
342 
343 #ifdef __XC8
344 void draw_picture_GLCD (const unsigned char * picture_table);
345 #endif
346 
359 void write_char_GLCD (unsigned char x_pos, unsigned char y_pos, unsigned char character);
360 
361 
376 void write_string_GLCD (unsigned char x_pos, unsigned char y_pos, unsigned char * character_array);
377 
378 
391 #ifndef __XC8
392 void write_message_GLCD (unsigned char x_pos, unsigned char y_pos, const rom unsigned char * character);
393 #endif
394 
395 #ifdef __XC8
396 void write_message_GLCD (unsigned char x_pos, unsigned char y_pos, const unsigned char * character);
397 #endif
398 
413 void write_integer_GLCD (unsigned char x_pos, unsigned char y_pos, int value, char number_of_digits);
414 
415 
427 void set_font_GLCD (unsigned char width, unsigned char height);
428 
429 
430 
431 //****************************************************************************************************
432 // PRIVATE FUNCTIONS (The user should not use it)
433 //****************************************************************************************************
434 
435 
446 void wait_busy_status_GLCD (void);
447 
448 
459 unsigned char get_controller_status_GLCD (void);
460 
461 
474 void write_command_GLCD (unsigned char command_to_send);
475 
476 
486 void set_page_GLCD (unsigned char controller_page);
487 
488 
499 void set_address_GLCD (unsigned char controller_address);
500 
501 
511 void write_data_GLCD (unsigned char data_to_send);
512 
513 
524 unsigned char read_data_GLCD (void);
525 
526 
527 
528 
529 //************************************************************************************************
530 // Font Tables
531 //************************************************************************************************
532 
533 #ifdef ENABLE_FONT_5x7
534 
535 #ifndef __XC8
536 rom unsigned char font_5x7[96][5] = {
537 #endif
538 
539 #ifdef __XC8
540 const unsigned char font_5x7[96][5] = {
541 #endif
542 
543  0x00,0x00,0x00,0x00,0x00, // empty space
544  0x00,0x00,0x5f,0x00,0x00, // !
545  0x00,0x03,0x00,0x03,0x00, // "
546  0x14,0x7f,0x14,0x7f,0x14, // #
547  0x24,0x2a,0x7f,0x2a,0x12, // $
548  0x23,0x13,0x08,0x64,0x62, // %
549  0x36,0x49,0x55,0x22,0x50, // &
550  0x00,0x05,0x03,0x00,0x00, // '
551  0x00,0x1c,0x22,0x41,0x00, // (
552  0x00,0x41,0x22,0x1c,0x00, // )
553  0x14,0x08,0x3e,0x08,0x14, // *
554  0x08,0x08,0x3e,0x08,0x08, // +
555  0x00,0x50,0x30,0x00,0x00, // ,
556  0x08,0x08,0x08,0x08,0x08, // -
557  0x00,0x60,0x60,0x00,0x00, // .
558  0x20,0x10,0x08,0x04,0x02, // /
559  0x3e,0x51,0x49,0x45,0x3e, // 0
560  0x00,0x42,0x7f,0x40,0x00, // 1
561  0x42,0x61,0x51,0x49,0x46, // 2
562  0x21,0x41,0x45,0x4b,0x31, // 3
563  0x18,0x14,0x12,0x7f,0x10, // 4
564  0x27,0x45,0x45,0x45,0x39, // 5
565  0x3c,0x4a,0x49,0x49,0x30, // 6
566  0x01,0x71,0x09,0x05,0x03, // 7
567  0x36,0x49,0x49,0x49,0x36, // 8
568  0x06,0x49,0x49,0x29,0x1e, // 9
569  0x00,0x36,0x36,0x00,0x00, // :
570  0x00,0x56,0x36,0x00,0x00, // ;
571  0x08,0x14,0x22,0x41,0x00, // <
572  0x14,0x14,0x14,0x14,0x14, // =
573  0x00,0x41,0x22,0x14,0x08, // >
574  0x02,0x01,0x51,0x09,0x06, // ?
575  0x32,0x49,0x79,0x41,0x3e, // @
576  0x7e,0x11,0x11,0x11,0x7e, // A
577  0x7f,0x49,0x49,0x49,0x36, // B
578  0x3e,0x41,0x41,0x41,0x22, // C
579  0x7f,0x41,0x41,0x22,0x1c, // D
580  0x7f,0x49,0x49,0x49,0x41, // E
581  0x7f,0x09,0x09,0x09,0x01, // F
582  0x3e,0x41,0x49,0x49,0x7a, // G
583  0x7f,0x08,0x08,0x08,0x7f, // H
584  0x00,0x41,0x7f,0x41,0x00, // I
585  0x20,0x40,0x41,0x3f,0x01, // J
586  0x7f,0x08,0x14,0x22,0x41, // K
587  0x7f,0x40,0x40,0x40,0x40, // L
588  0x7f,0x02,0x0c,0x02,0x7f, // M
589  0x7f,0x04,0x08,0x10,0x7f, // N
590  0x3e,0x41,0x41,0x41,0x3e, // O
591  0x7f,0x09,0x09,0x09,0x06, // P
592  0x3e,0x41,0x51,0x21,0x5e, // Q
593  0x7f,0x09,0x19,0x29,0x46, // R
594  0x46,0x49,0x49,0x49,0x31, // S
595  0x01,0x01,0x7f,0x01,0x01, // T
596  0x3f,0x40,0x40,0x40,0x3f, // U
597  0x1f,0x20,0x40,0x20,0x1f, // V
598  0x3f,0x40,0x38,0x40,0x3f, // W
599  0x63,0x14,0x08,0x14,0x63, // X
600  0x07,0x08,0x70,0x08,0x07, // Y
601  0x61,0x51,0x49,0x45,0x43, // Z
602  0x00,0x7f,0x41,0x41,0x00, // [
603  0x02,0x04,0x08,0x10,0x20, // \]
604  0x00,0x41,0x41,0x7f,0x00, // ]
605  0x04,0x02,0x01,0x02,0x04, // ^
606  0x40,0x40,0x40,0x40,0x40, // _
607  0x00,0x01,0x02,0x04,0x00, // `
608  0x20,0x54,0x54,0x54,0x78, // a
609  0x7f,0x48,0x44,0x44,0x38, // b
610  0x38,0x44,0x44,0x44,0x00, // c
611  0x38,0x44,0x44,0x48,0x7f, // d
612  0x38,0x54,0x54,0x54,0x18, // e
613  0x08,0x7e,0x09,0x01,0x02, // f
614  0x0c,0x52,0x52,0x52,0x3e, // g
615  0x7f,0x08,0x04,0x04,0x78, // h
616  0x00,0x44,0x7d,0x40,0x00, // i
617  0x20,0x40,0x44,0x3d,0x00, // j
618  0x7f,0x10,0x28,0x44,0x00, // k
619  0x00,0x41,0x7f,0x40,0x00, // l
620  0x7c,0x04,0x18,0x04,0x78, // m
621  0x7c,0x08,0x04,0x04,0x78, // n
622  0x38,0x44,0x44,0x44,0x38, // o
623  0x7c,0x14,0x14,0x14,0x08, // p
624  0x08,0x14,0x14,0x18,0x7c, // q
625  0x7c,0x08,0x04,0x04,0x08, // r
626  0x48,0x54,0x54,0x54,0x20, // s
627  0x04,0x3f,0x44,0x40,0x20, // t
628  0x3c,0x40,0x40,0x20,0x7c, // u
629  0x1c,0x20,0x40,0x20,0x1c, // v
630  0x3c,0x40,0x30,0x40,0x3c, // w
631  0x44,0x28,0x10,0x28,0x44, // x
632  0x0c,0x50,0x50,0x50,0x3c, // y
633  0x44,0x64,0x54,0x4c,0x44, // z
634  0x00,0x08,0x36,0x41,0x00, // {
635  0x00,0x00,0x7f,0x00,0x00, // |
636  0x00,0x41,0x36,0x08,0x00, // }
637  0x10,0x08,0x08,0x10,0x08, // ^
638  0x00,0x00,0x02,0x05,0x02}; // degree
639 
640 #endif // ENABLE_FONT_5x7
641 
642 
643 //************************************************************************************************
644 // Pictures and Logos
645 //************************************************************************************************
646 
647 #ifdef ENABLE_LOGO_1
648 
649 #ifndef __XC8
650 rom unsigned char logo_1 [] = {
651 #endif
652 
653 #ifdef __XC8
654 const unsigned char logo_1 [] = {
655 #endif
656 
657 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
658 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
659 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
660 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
661 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
662 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
663 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
664 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
665 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
666 0x30, 0xF0, 0xF0, 0xF0, 0xF0, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
667 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
668 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
669 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xE0, 0xF0, 0x70, 0x30, 0x30,
670 0xF0, 0xF0, 0xF0, 0xF0, 0x30, 0x30, 0x70, 0xF0, 0xF0, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
671 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
672 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
673 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0,
674 0xFC, 0xFF, 0xFF, 0x3F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0x40, 0x00, 0xE0, 0xF0, 0xF8,
675 0xFC, 0x3C, 0x0E, 0x06, 0x06, 0x86, 0xEE, 0xFC, 0xFE, 0xFE, 0x3E, 0x06, 0x08, 0x0C, 0xCC, 0xFC,
676 0xFC, 0xFE, 0x3E, 0x06, 0x00, 0xC0, 0xF8, 0xFE, 0xFE, 0x7E, 0x06, 0x00, 0x00, 0x0C, 0x8C, 0xFC,
677 0xFC, 0xFE, 0x3E, 0x0E, 0x04, 0x06, 0x1E, 0x1E, 0x0C, 0x00, 0x03, 0x03, 0x00, 0x00, 0xC0, 0xFC,
678 0xFF, 0xFF, 0x3F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0xE3, 0xF0, 0xF8, 0xFC, 0xFC, 0xDE,
679 0xC6, 0xE6, 0x7E, 0x7E, 0x7C, 0x3C, 0x00, 0xE0, 0xF0, 0xF8, 0xFC, 0x3C, 0x0E, 0x06, 0x06, 0x1E,
680 0x3E, 0x3C, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
681 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, 0x0C, 0x0F,
682 0x0F, 0x0F, 0x0F, 0x0C, 0x0C, 0x0C, 0x0C, 0x0E, 0x0F, 0x07, 0x01, 0x00, 0x00, 0x03, 0x07, 0x0F,
683 0x0F, 0x0C, 0x0C, 0x0C, 0x06, 0x07, 0x0F, 0x0F, 0x0F, 0x0D, 0x0C, 0x06, 0x04, 0x02, 0x07, 0x0F,
684 0x0F, 0x0F, 0x0C, 0x04, 0x03, 0x07, 0x0F, 0x0F, 0x0F, 0x0C, 0x0C, 0x08, 0x00, 0x0C, 0x0F, 0x0F,
685 0x0F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, 0x0C, 0x0F, 0x0F,
686 0x0F, 0x0F, 0x0C, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x07, 0x0F, 0x0E, 0x0C,
687 0x0C, 0x0C, 0x06, 0x06, 0x02, 0x00, 0x00, 0x03, 0x07, 0x07, 0x0F, 0x0E, 0x0C, 0x0C, 0x0C, 0x06,
688 0x06, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
689 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
690 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
691 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
692 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
693 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
694 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
695 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
696 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
697 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
698 0xFE, 0x02, 0x02, 0x02, 0x02, 0x84, 0x78, 0x00, 0xE0, 0x50, 0x50, 0x60, 0x00, 0x20, 0x50, 0x50,
699 0x90, 0x00, 0x10, 0xF4, 0x00, 0x60, 0xD0, 0x50, 0x20, 0x20, 0x00, 0x10, 0xF0, 0x20, 0x10, 0xF0,
700 0x00, 0x00, 0x00, 0x00, 0x10, 0xF0, 0x20, 0x10, 0xF0, 0x20, 0x10, 0xF0, 0x00, 0x00, 0xA0, 0x50,
701 0x50, 0xF0, 0x00, 0x00, 0xE0, 0x10, 0x10, 0x12, 0xFE, 0x00, 0x00, 0xE0, 0x50, 0x50, 0x60, 0x00,
702 0x00, 0x00, 0x00, 0xE0, 0x50, 0x50, 0x60, 0x00, 0xA0, 0x50, 0x50, 0xF0, 0x00, 0x00, 0x20, 0x50,
703 0x50, 0x90, 0x00, 0x10, 0xF0, 0x00, 0xF0, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
704 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
705 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
706 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01,
707 0x00, 0x00, 0x01, 0x01, 0x01, 0x06, 0x09, 0x09, 0x09, 0x06, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01,
708 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01,
709 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00,
710 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01,
711 0x01, 0x00, 0x00, 0x08, 0x04, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00,
712 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
713 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
714 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
715 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
716 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
717 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
718 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
719 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
720 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
721 };
722 
723 #endif // ENABLE_LOGO_1
724 
725 
726 
727 
728 #endif //FLAG_GLCD_K0108B
729