A simple library for SSH1106 controlled GLCDs

Dependents:   SSH1106_OLED

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers font_6x8.h Source File

font_6x8.h

00001 #ifndef __FONT68_H__
00002 #define __FONT68_H__
00003 
00004 /* File '6X8.FV' as include
00005  * The font was generated with EA FontEditor. Please contact ELECTRONIC ASSEMBLY
00006  * for more details (techik@lcd-module.de)
00007  *
00008  * TAB 6/22/2015 - Modified for mbed compiler
00009  *
00010  * The array starts with a 8 byte header:
00011  *  1st Byte: 'F' first 2 bytes are always FV
00012  *  2nd Byte: 'V' for FONT VERTICAL
00013  *  3rd Byte: First code to define
00014  *  4th Byte: Last  code to define
00015  *  5th Byte: Width of character in dots
00016  *  6th Byte: Height of character in dots
00017  *  7th Byte: Height of character in bytes
00018  *  8th Byte: Bytes needed for each character (1..255)
00019               or 0 for big fonts calculate WidthInDots * HeightInBytes
00020  * After that font data will follow
00021  */
00022 
00023 #define FONT_6X8_LEN  584
00024 
00025 const char font_6x8[FONT_6X8_LEN] =
00026 {   
00027     70, 86, 32,127,  6,  8,  1,  6,
00028     0,  0,  0,  0,  0,  0,
00029     0,  0, 95,  0,  0,  0,
00030     0,  7,  0,  7,  0,  0,
00031    20,127, 20,127, 20,  0,
00032    36, 42,127, 42, 18,  0,
00033    35, 19,  8,100, 98,  0,
00034    54, 73, 86, 32, 80,  0,
00035     0,  8,  7,  3,  0,  0,
00036     0, 28, 34, 65,  0,  0,
00037     0, 65, 34, 28,  0,  0,
00038    42, 28,127, 28, 42,  0,
00039     8,  8, 62,  8,  8,  0,
00040     0,128,112, 48,  0,  0,
00041     8,  8,  8,  8,  8,  0,
00042     0,  0, 96, 96,  0,  0,
00043    32, 16,  8,  4,  2,  0,
00044    62, 81, 73, 69, 62,  0,
00045     0, 66,127, 64,  0,  0,
00046    66, 97, 81, 73, 70,  0,
00047    33, 65, 73, 77, 51,  0,
00048    24, 20, 18,127, 16,  0,
00049    39, 69, 69, 69, 57,  0,
00050    60, 74, 73, 73, 48,  0,
00051    65, 33, 17,  9,  7,  0,
00052    54, 73, 73, 73, 54,  0,
00053     6, 73, 73, 41, 30,  0,
00054     0,  0, 20,  0,  0,  0,
00055     0, 64, 52,  0,  0,  0,
00056     0,  8, 20, 34, 65,  0,
00057    20, 20, 20, 20, 20,  0,
00058     0, 65, 34, 20,  8,  0,
00059     2,  1, 81,  9,  6,  0,
00060    62, 65, 93, 89, 78,  0,
00061   124, 18, 17, 18,124,  0,
00062   127, 73, 73, 73, 54,  0,
00063    62, 65, 65, 65, 34,  0,
00064   127, 65, 65, 65, 62,  0,
00065   127, 73, 73, 73, 65,  0,
00066   127,  9,  9,  9,  1,  0,
00067    62, 65, 73, 73,122,  0,
00068   127,  8,  8,  8,127,  0,
00069     0, 65,127, 65,  0,  0,
00070    32, 64, 65, 63,  1,  0,
00071   127,  8, 20, 34, 65,  0,
00072   127, 64, 64, 64, 64,  0,
00073   127,  2, 28,  2,127,  0,
00074   127,  4,  8, 16,127,  0,
00075    62, 65, 65, 65, 62,  0,
00076   127,  9,  9,  9,  6,  0,
00077    62, 65, 81, 33, 94,  0,
00078   127,  9, 25, 41, 70,  0,
00079    38, 73, 73, 73, 50,  0,
00080     1,  1,127,  1,  1,  0,
00081    63, 64, 64, 64, 63,  0,
00082    31, 32, 64, 32, 31,  0,
00083    63, 64, 56, 64, 63,  0,
00084    99, 20,  8, 20, 99,  0,
00085     3,  4,120,  4,  3,  0,
00086    97, 81, 73, 69, 67,  0,
00087     0,127, 65, 65, 65,  0,
00088     2,  4,  8, 16, 32,  0,
00089     0, 65, 65, 65,127,  0,
00090     4,  2,  1,  2,  4,  0,
00091    64, 64, 64, 64, 64,  0,
00092     0,  3,  7,  8,  0,  0,
00093    32, 84, 84, 84,120,  0,
00094   127, 40, 68, 68, 56,  0,
00095    56, 68, 68, 68, 40,  0,
00096    56, 68, 68, 40,127,  0,
00097    56, 84, 84, 84, 24,  0,
00098     0,  8,126,  9,  2,  0,
00099    24,164,164,164,124,  0,
00100   127,  8,  4,  4,120,  0,
00101     0, 68,125, 64,  0,  0,
00102    32, 64, 64, 61,  0,  0,
00103   127, 16, 40, 68,  0,  0,
00104     0, 65,127, 64,  0,  0,
00105   124,  4,120,  4,120,  0,
00106   124,  8,  4,  4,120,  0,
00107    56, 68, 68, 68, 56,  0,
00108   252, 24, 36, 36, 24,  0,
00109    24, 36, 36, 24,252,  0,
00110   124,  8,  4,  4,  8,  0,
00111    72, 84, 84, 84, 36,  0,
00112     4,  4, 63, 68, 36,  0,
00113    60, 64, 64, 32,124,  0,
00114    28, 32, 64, 32, 28,  0,
00115    60, 64, 48, 64, 60,  0,
00116    68, 40, 16, 40, 68,  0,
00117    76,144,144,144,124,  0,
00118    68,100, 84, 76, 68,  0,
00119     0,  8, 54, 65,  0,  0,
00120     0,  0,119,  0,  0,  0,
00121     0, 65, 54,  8,  0,  0,
00122     2,  1,  2,  4,  2,  0,
00123    60, 38, 35, 38, 60,  0
00124 };
00125 
00126 #endif