LTlib LaurTec Library  4.0.3
Open Source C Library for Microchip Microcontrollers based on XC8 Compiler
 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.3
5 Created on Date : 26/05/2012
6 Last update : 27/11/2015
7 
8 CopyRight 2006-2015 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 LTLIB_GLCD_K0108B_H
47 #define LTLIB_GLCD_K0108B_H
48 
49 #ifdef __XC8
50  #include <xc.h>
51  #include <stdlib.h>
52  #define NOP_DELAY _delay (5)
53 #endif
54 
55 #ifndef __XC8
56  #include <ctype.h>
57  #include <delays.h>
58  #define NOP_DELAY Delay1TCY()
59 #endif
60 
61 //*****************************************
62 // Library Test
63 //*****************************************
64 #include "LTlib.h"
65 
66 #ifndef LTLIB_DELAY_H
67  #error The GLCD_K0108B Library requires the "delay" library to be included.
68 #endif
69 
70 //**************************************************
71 // HW Initialization
72 // This section must be properly initialized according
73 // to the GLCD connections
74 //**************************************************
75 
76 #ifdef _PIC18
77  #define GLCD_DATA_WRITE LATD
78  #define GLCD_DATA_READ PORTD
79  #define GLCD_DATA_DIRECTION TRISD
80 
81  //Control bit declaration
82  #define GLCD_D_I LATAbits.LATA3
83  #define GLCD_R_W LATAbits.LATA4
84  #define GLCD_E LATAbits.LATA5
85  #define GLCD_CS1 LATEbits.LATE0
86  #define GLCD_CS2 LATEbits.LATE1
87  #define GLCD_RST LATEbits.LATE2
88  #define GLCD_LED LATCbits.LATC1
89 
90  //Control bit direction
91  #define GLCD_D_I_DIRECTION TRISAbits.RA3
92  #define GLCD_R_W_DIRECTION TRISAbits.RA4
93  #define GLCD_E_DIRECTION TRISAbits.RA5
94  #define GLCD_CS1_DIRECTION TRISEbits.RE0
95  #define GLCD_CS2_DIRECTION TRISEbits.RE1
96  #define GLCD_RST_DIRECTION TRISEbits.RE2
97  #define GLCD_LED_DIRECTION TRISCbits.RC1
98 #endif
99 
100 
101 #ifndef _PIC18
102 
103  #define GLCD_DATA_WRITE PORTD
104  #define GLCD_DATA_READ PORTD
105  #define GLCD_DATA_DIRECTION TRISD
106 
107  #define GLCD_D_I PORTAbits.RA3
108  #define GLCD_R_W PORTAbits.RA4
109  #define GLCD_E PORTAbits.RA5
110  #define GLCD_CS1 PORTEbits.RE0
111  #define GLCD_CS2 PORTEbits.RE1
112  #define GLCD_RST PORTEbits.RE2
113  #define GLCD_LED PORTCbits.RC1
114 
115  #define GLCD_D_I_DIRECTION TRISAbits.TRISA3
116  #define GLCD_R_W_DIRECTION TRISAbits.TRISA4
117  #define GLCD_E_DIRECTION TRISAbits.TRISA5
118  #define GLCD_CS1_DIRECTION TRISEbits.TRISE0
119  #define GLCD_CS2_DIRECTION TRISEbits.TRISE1
120  #define GLCD_RST_DIRECTION TRISEbits.TRISE2
121  #define GLCD_LED_DIRECTION TRISCbits.TRISC1
122 
123 #endif
124 
125 //**************************************************
126 // GLCD Controller constants
127 //**************************************************
128 
129 #define GLCD_INPUT 0xFF
130 #define GLCD_OUTPUT 0x00
131 
132 #define GLCD_NUMBER_OF_PAGES 8
133 #define GLCD_X_RESOLUTION 128
134 #define GLCD_Y_RESOLUTION 64
135 
136 #define GLCD_CONTROLLER_MAX_X 64
137 
138 
139 //**************************************************
140 // Font Tables and Pictures
141 //**************************************************
142 
143 #define GLCD_ENABLE_FONT_5x7
144 
145 #define GLCD_ENABLE_LOGO_1
146 
147 //**************************************************
148 // GLCD Font Size
149 //**************************************************
150 
151 #define GLCD_FONT_WIDTH_5 5
152 #define GLCD_FONT_HEIGTH_7 7
153 
154 #define GLCD_FONT_SPACE 1
155 
156 
157 //**************************************************
158 // GLCD command constants
159 //**************************************************
160 
161 #define GLCD_COMM_DISPLAY_ON 0b00111111
162 #define GLCD_COMM_DISPLAY_OFF 0b00111110
163 
164 #define GLCD_COMM_PAGE_SELECT 0b10111000
165 
166 #define GLCD_COMM_ADDRESS_SELECT 0b01000000
167 
168 #define GLCD_COMM_START_LINE 0b11000000
169 
170 
171 //**************************************************
172 // GLCD Status Flag
173 //**************************************************
174 
175 #define GLCD_BUSY_FLAG 0x80
176 
177 
178 
179 //**************************************************
180 // General Purpose constants
181 //**************************************************
182 
183 #define TURN_ON_LED_GLCD 0b00000001
184 #define TURN_OFF_LED_GLCD 0b00000000
185 #define GLCD_TURN_ON_LED 0b00000001
186 #define GLCD_TURN_OFF_LED 0b00000000
187 
188 #define TURN_ON_DISPLAY 0b00000001
189 #define TURN_OFF_DISPLAY 0b00000000
190 #define GLCD_TURN_ON_DISPLAY 0b00000001
191 #define GLCD_TURN_OFF_DISPLAY 0b00000000
192 
193 #define HIGH_GLCD 0b00000001
194 #define LOW_GLCD 0b00000000
195 #define GLCD_HIGH 0b00000001
196 #define GLCD_LOW 0b00000000
197 
198 #define ENABLE_GLCD 0b00000001
199 #define DISABLE_GLCD 0b00000000
200 #define GLCD_ENABLE 0b00000001
201 #define GLCD_DISABLE 0b00000000
202 
203 #define ENABLE_RESET_GLCD 0b00000000
204 #define DISABLE_RESET_GLCD 0b00000001
205 #define GLCD_ENABLE_RESET 0b00000000
206 #define GLCD_DISABLE_RESET 0b00000001
207 
208 #define GLCD_CHIP_SELECT_1 0x00
209 #define GLCD_CHIP_SELECT_2 0x01
210 
211 #define FILLING_WHITE 0x00
212 #define FILLING_BLACK 0xFF
213 #define GLCD_FILLING_WHITE 0x00
214 #define GLCD_FILLING_BLACK 0xFF
215 
216 
217 
218 //****************************************************************************************************
219 // PUBLIC FUNCTIONS
220 //****************************************************************************************************
221 
222 
223 
233 void GLCD_initialize (void);
234 #define initialize_GLCD GLCD_initialize
235 
236 
245 void GLCD_clear (unsigned char filling_color);
246 #define clear_GLCD GLCD_clear
247 
248 
259 void GLCD_backlight (unsigned char backlight);
260 #define backlight_GLCD GLCD_backlight
261 
262 
272 void GLCD_set_display (unsigned char display_status);
273 #define set_display_GLCD GLCD_set_display
274 
275 
284 void GLCD_set_vertical_offset (unsigned char vertical_offset);
285 #define set_vertical_offset_GLCD GLCD_set_vertical_offset
286 
287 
301 void GLCD_plot_xy (unsigned char x_pos, unsigned char y_pos, unsigned char filling_color);
302 #define plot_xy_GLCD GLCD_plot_xy
303 
304 
322 void GLCD_draw_horizontal_line (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char filling_color);
323 #define draw_horizontal_line_GLCD GLCD_draw_horizontal_line
324 
325 
343 void GLCD_draw_vertical_line (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char filling_color);
344 #define draw_vertical_line_GLCD GLCD_draw_vertical_line
345 
346 
366 void GLCD_draw_window (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char height, unsigned char filling_color);
367 #define draw_window_GLCD GLCD_draw_window
368 
369 
389 void GLCD_draw_box (unsigned char x_origin, unsigned char y_origin, unsigned char length, unsigned char height, unsigned char filling_color);
390 #define draw_box_GLCD GLCD_draw_box
391 
392 
401 #ifndef __XC8
402 void GLCD_draw_picture (rom unsigned char * picture_table);
403 #endif
404 
405 #ifdef __XC8
406 void GLCD_draw_picture (const unsigned char * picture_table);
407 #endif
408 
409 #define draw_picture_GLCD GLCD_draw_picture
410 
411 
424 void GLCD_write_char (unsigned char x_pos, unsigned char y_pos, unsigned char character);
425 #define write_char_GLCD GLCD_write_char
426 
427 
442 void GLCD_write_string (unsigned char x_pos, unsigned char y_pos, unsigned char * character_array);
443 #define write_string_GLCD GLCD_write_string
444 
445 
458 #ifndef __XC8
459 void GLCD_write_message (unsigned char x_pos, unsigned char y_pos, const rom unsigned char * character);
460 #endif
461 
462 #ifdef __XC8
463 void GLCD_write_message (unsigned char x_pos, unsigned char y_pos, const unsigned char * character);
464 #endif
465 
466 #define write_message_GLCD GLCD_write_message
467 
468 
483 void GLCD_write_integer (unsigned char x_pos, unsigned char y_pos, int value, char number_of_digits);
484 #define write_integer_GLCD GLCD_write_integer
485 
486 
498 void GLCD_set_font (unsigned char width, unsigned char height);
499 #define set_font_GLCD GLCD_set_font
500 
501 
502 //****************************************************************************************************
503 // PRIVATE FUNCTIONS (The user should not use it)
504 //****************************************************************************************************
505 
506 
517 void GLCD_wait_busy_status (void);
518 #define wait_busy_status_GLCD GLCD_wait_busy_status
519 
520 
530 unsigned char GLCD_get_controller_status (void);
531 #define get_controller_status_GLCD GLCD_get_controller_status
532 
533 
546 void GLCD_write_command (unsigned char command_to_send);
547 #define write_command_GLCD GLCD_write_command
548 
549 
559 void GLCD_set_page (unsigned char controller_page);
560 #define set_page_GLCD GLCD_set_page
561 
562 
573 void GLCD_set_address (unsigned char controller_address);
574 #define set_address_GLCD GLCD_set_address
575 
585 void GLCD_write_data (unsigned char data_to_send);
586 #define write_data_GLCD GLCD_write_data
587 
588 
599 unsigned char GLCD_read_data (void);
600 #define read_data_GLCD GLCD_read_data
601 
602 
603 
604 //************************************************************************************************
605 // Font Tables
606 //************************************************************************************************
607 
608 #ifdef GLCD_ENABLE_FONT_5x7
609 
610 #ifndef __XC8
611 rom unsigned char font_5x7[96][5] = {
612 #endif
613 
614 #ifdef __XC8
615 const unsigned char font_5x7[96][5] = {
616 #endif
617 
618  0x00,0x00,0x00,0x00,0x00, // empty space
619  0x00,0x00,0x5f,0x00,0x00, // !
620  0x00,0x03,0x00,0x03,0x00, // "
621  0x14,0x7f,0x14,0x7f,0x14, // #
622  0x24,0x2a,0x7f,0x2a,0x12, // $
623  0x23,0x13,0x08,0x64,0x62, // %
624  0x36,0x49,0x55,0x22,0x50, // &
625  0x00,0x05,0x03,0x00,0x00, // '
626  0x00,0x1c,0x22,0x41,0x00, // (
627  0x00,0x41,0x22,0x1c,0x00, // )
628  0x14,0x08,0x3e,0x08,0x14, // *
629  0x08,0x08,0x3e,0x08,0x08, // +
630  0x00,0x50,0x30,0x00,0x00, // ,
631  0x08,0x08,0x08,0x08,0x08, // -
632  0x00,0x60,0x60,0x00,0x00, // .
633  0x20,0x10,0x08,0x04,0x02, // /
634  0x3e,0x51,0x49,0x45,0x3e, // 0
635  0x00,0x42,0x7f,0x40,0x00, // 1
636  0x42,0x61,0x51,0x49,0x46, // 2
637  0x21,0x41,0x45,0x4b,0x31, // 3
638  0x18,0x14,0x12,0x7f,0x10, // 4
639  0x27,0x45,0x45,0x45,0x39, // 5
640  0x3c,0x4a,0x49,0x49,0x30, // 6
641  0x01,0x71,0x09,0x05,0x03, // 7
642  0x36,0x49,0x49,0x49,0x36, // 8
643  0x06,0x49,0x49,0x29,0x1e, // 9
644  0x00,0x36,0x36,0x00,0x00, // :
645  0x00,0x56,0x36,0x00,0x00, // ;
646  0x08,0x14,0x22,0x41,0x00, // <
647  0x14,0x14,0x14,0x14,0x14, // =
648  0x00,0x41,0x22,0x14,0x08, // >
649  0x02,0x01,0x51,0x09,0x06, // ?
650  0x32,0x49,0x79,0x41,0x3e, // @
651  0x7e,0x11,0x11,0x11,0x7e, // A
652  0x7f,0x49,0x49,0x49,0x36, // B
653  0x3e,0x41,0x41,0x41,0x22, // C
654  0x7f,0x41,0x41,0x22,0x1c, // D
655  0x7f,0x49,0x49,0x49,0x41, // E
656  0x7f,0x09,0x09,0x09,0x01, // F
657  0x3e,0x41,0x49,0x49,0x7a, // G
658  0x7f,0x08,0x08,0x08,0x7f, // H
659  0x00,0x41,0x7f,0x41,0x00, // I
660  0x20,0x40,0x41,0x3f,0x01, // J
661  0x7f,0x08,0x14,0x22,0x41, // K
662  0x7f,0x40,0x40,0x40,0x40, // L
663  0x7f,0x02,0x0c,0x02,0x7f, // M
664  0x7f,0x04,0x08,0x10,0x7f, // N
665  0x3e,0x41,0x41,0x41,0x3e, // O
666  0x7f,0x09,0x09,0x09,0x06, // P
667  0x3e,0x41,0x51,0x21,0x5e, // Q
668  0x7f,0x09,0x19,0x29,0x46, // R
669  0x46,0x49,0x49,0x49,0x31, // S
670  0x01,0x01,0x7f,0x01,0x01, // T
671  0x3f,0x40,0x40,0x40,0x3f, // U
672  0x1f,0x20,0x40,0x20,0x1f, // V
673  0x3f,0x40,0x38,0x40,0x3f, // W
674  0x63,0x14,0x08,0x14,0x63, // X
675  0x07,0x08,0x70,0x08,0x07, // Y
676  0x61,0x51,0x49,0x45,0x43, // Z
677  0x00,0x7f,0x41,0x41,0x00, // [
678  0x02,0x04,0x08,0x10,0x20, // \]
679  0x00,0x41,0x41,0x7f,0x00, // ]
680  0x04,0x02,0x01,0x02,0x04, // ^
681  0x40,0x40,0x40,0x40,0x40, // _
682  0x00,0x01,0x02,0x04,0x00, // `
683  0x20,0x54,0x54,0x54,0x78, // a
684  0x7f,0x48,0x44,0x44,0x38, // b
685  0x38,0x44,0x44,0x44,0x00, // c
686  0x38,0x44,0x44,0x48,0x7f, // d
687  0x38,0x54,0x54,0x54,0x18, // e
688  0x08,0x7e,0x09,0x01,0x02, // f
689  0x0c,0x52,0x52,0x52,0x3e, // g
690  0x7f,0x08,0x04,0x04,0x78, // h
691  0x00,0x44,0x7d,0x40,0x00, // i
692  0x20,0x40,0x44,0x3d,0x00, // j
693  0x7f,0x10,0x28,0x44,0x00, // k
694  0x00,0x41,0x7f,0x40,0x00, // l
695  0x7c,0x04,0x18,0x04,0x78, // m
696  0x7c,0x08,0x04,0x04,0x78, // n
697  0x38,0x44,0x44,0x44,0x38, // o
698  0x7c,0x14,0x14,0x14,0x08, // p
699  0x08,0x14,0x14,0x18,0x7c, // q
700  0x7c,0x08,0x04,0x04,0x08, // r
701  0x48,0x54,0x54,0x54,0x20, // s
702  0x04,0x3f,0x44,0x40,0x20, // t
703  0x3c,0x40,0x40,0x20,0x7c, // u
704  0x1c,0x20,0x40,0x20,0x1c, // v
705  0x3c,0x40,0x30,0x40,0x3c, // w
706  0x44,0x28,0x10,0x28,0x44, // x
707  0x0c,0x50,0x50,0x50,0x3c, // y
708  0x44,0x64,0x54,0x4c,0x44, // z
709  0x00,0x08,0x36,0x41,0x00, // {
710  0x00,0x00,0x7f,0x00,0x00, // |
711  0x00,0x41,0x36,0x08,0x00, // }
712  0x10,0x08,0x08,0x10,0x08, // ^
713  0x00,0x00,0x02,0x05,0x02}; // degree
714 
715 #endif // ENABLE_FONT_5x7
716 
717 
718 //************************************************************************************************
719 // Pictures and Logos
720 //************************************************************************************************
721 
722 #ifdef GLCD_ENABLE_LOGO_1
723 
724 #ifndef __XC8
725 rom unsigned char logo_1 [] = {
726 #endif
727 
728 #ifdef __XC8
729 const unsigned char logo_1 [] = {
730 #endif
731 
732 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
733 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
734 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
735 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
736 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
737 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
738 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
739 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
740 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
741 0x30, 0xF0, 0xF0, 0xF0, 0xF0, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
742 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
743 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
744 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xE0, 0xF0, 0x70, 0x30, 0x30,
745 0xF0, 0xF0, 0xF0, 0xF0, 0x30, 0x30, 0x70, 0xF0, 0xF0, 0xE0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
746 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
747 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
748 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xC0,
749 0xFC, 0xFF, 0xFF, 0x3F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x80, 0xC0, 0x40, 0x00, 0xE0, 0xF0, 0xF8,
750 0xFC, 0x3C, 0x0E, 0x06, 0x06, 0x86, 0xEE, 0xFC, 0xFE, 0xFE, 0x3E, 0x06, 0x08, 0x0C, 0xCC, 0xFC,
751 0xFC, 0xFE, 0x3E, 0x06, 0x00, 0xC0, 0xF8, 0xFE, 0xFE, 0x7E, 0x06, 0x00, 0x00, 0x0C, 0x8C, 0xFC,
752 0xFC, 0xFE, 0x3E, 0x0E, 0x04, 0x06, 0x1E, 0x1E, 0x0C, 0x00, 0x03, 0x03, 0x00, 0x00, 0xC0, 0xFC,
753 0xFF, 0xFF, 0x3F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0xE3, 0xF0, 0xF8, 0xFC, 0xFC, 0xDE,
754 0xC6, 0xE6, 0x7E, 0x7E, 0x7C, 0x3C, 0x00, 0xE0, 0xF0, 0xF8, 0xFC, 0x3C, 0x0E, 0x06, 0x06, 0x1E,
755 0x3E, 0x3C, 0x38, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
756 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, 0x0C, 0x0F,
757 0x0F, 0x0F, 0x0F, 0x0C, 0x0C, 0x0C, 0x0C, 0x0E, 0x0F, 0x07, 0x01, 0x00, 0x00, 0x03, 0x07, 0x0F,
758 0x0F, 0x0C, 0x0C, 0x0C, 0x06, 0x07, 0x0F, 0x0F, 0x0F, 0x0D, 0x0C, 0x06, 0x04, 0x02, 0x07, 0x0F,
759 0x0F, 0x0F, 0x0C, 0x04, 0x03, 0x07, 0x0F, 0x0F, 0x0F, 0x0C, 0x0C, 0x08, 0x00, 0x0C, 0x0F, 0x0F,
760 0x0F, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0C, 0x0C, 0x0C, 0x0F, 0x0F,
761 0x0F, 0x0F, 0x0C, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x07, 0x07, 0x0F, 0x0E, 0x0C,
762 0x0C, 0x0C, 0x06, 0x06, 0x02, 0x00, 0x00, 0x03, 0x07, 0x07, 0x0F, 0x0E, 0x0C, 0x0C, 0x0C, 0x06,
763 0x06, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
764 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
765 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
766 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
767 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
768 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
769 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
770 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
771 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
772 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02,
773 0xFE, 0x02, 0x02, 0x02, 0x02, 0x84, 0x78, 0x00, 0xE0, 0x50, 0x50, 0x60, 0x00, 0x20, 0x50, 0x50,
774 0x90, 0x00, 0x10, 0xF4, 0x00, 0x60, 0xD0, 0x50, 0x20, 0x20, 0x00, 0x10, 0xF0, 0x20, 0x10, 0xF0,
775 0x00, 0x00, 0x00, 0x00, 0x10, 0xF0, 0x20, 0x10, 0xF0, 0x20, 0x10, 0xF0, 0x00, 0x00, 0xA0, 0x50,
776 0x50, 0xF0, 0x00, 0x00, 0xE0, 0x10, 0x10, 0x12, 0xFE, 0x00, 0x00, 0xE0, 0x50, 0x50, 0x60, 0x00,
777 0x00, 0x00, 0x00, 0xE0, 0x50, 0x50, 0x60, 0x00, 0xA0, 0x50, 0x50, 0xF0, 0x00, 0x00, 0x20, 0x50,
778 0x50, 0x90, 0x00, 0x10, 0xF0, 0x00, 0xF0, 0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
779 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
780 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01,
781 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01,
782 0x00, 0x00, 0x01, 0x01, 0x01, 0x06, 0x09, 0x09, 0x09, 0x06, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01,
783 0x01, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01,
784 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00,
785 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01,
786 0x01, 0x00, 0x00, 0x08, 0x04, 0x03, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00,
787 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
788 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
789 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
790 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
791 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
792 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
793 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
794 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
795 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
796 };
797 
798 #endif // ENABLE_LOGO_1
799 
800 
801 #endif // GLCD_K0108B_H
802