Simple library for UC1701 based GLCD's

Dependents:   Opensmart_LCD_UC1701

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers font_7x7.h Source File

font_7x7.h

00001 ; // Compiler bug: remove if needed
00002 
00003 /*  The array starts with a 8 byte header:
00004  *  1st Byte: 'F' first 2 bytes are always FV
00005  *  2nd Byte: 'V' for FONT VERTICAL
00006  *  3rd Byte: First code to define
00007  *  4th Byte: Last  code to define
00008  *  5th Byte: Width of character in dots
00009  *  6th Byte: Height of character in dots
00010  *  7th Byte: Height of character in bytes
00011  *  8th Byte: Bytes needed for each character (1..255)
00012  *            or 0 for big fonts calculate WidthInDots * HeightInBytes
00013  * After that font data will follow
00014  */
00015 
00016 const char font_7x7[] = {
00017     70, 86, 32,127,  7,  7,  1,  7,
00018     0x00,0x00,0x00,0x00,0x00,0x00,0x00, //  
00019     0x5e,0x00,0x00,0x00,0x00,0x00,0x00, // !
00020     0x0c,0x00,0x0c,0x00,0x00,0x00,0x00, // "
00021     0x14,0x3e,0x14,0x3e,0x14,0x00,0x00, // #
00022     0x2e,0x2a,0x7f,0x2a,0x3a,0x00,0x00, // $
00023     0x1c,0x14,0x1c,0x00,0x7c,0x00,0x70, // %
00024     0x78,0x4e,0x5a,0x2e,0x40,0x00,0x00, // &
00025     0x0c,0x00,0x00,0x00,0x00,0x00,0x00, // '
00026     0x7e,0x81,0x00,0x00,0x00,0x00,0x00, // (
00027     0x81,0x7e,0x00,0x00,0x00,0x00,0x00, // )
00028     0x04,0x1c,0x0e,0x1c,0x04,0x00,0x00, // *
00029     0x08,0x1c,0x08,0x00,0x00,0x00,0x00, // +
00030     0xc0,0x00,0x00,0x00,0x00,0x00,0x00, // ,
00031     0x08,0x08,0x08,0x00,0x00,0x00,0x00, // -
00032     0x40,0x00,0x00,0x00,0x00,0x00,0x00, // .
00033     0x70,0x0e,0x00,0x00,0x00,0x00,0x00, // /
00034     0x7c,0x44,0x7c,0x00,0x00,0x00,0x00, // 0
00035     0x08,0x7c,0x00,0x00,0x00,0x00,0x00, // 1
00036     0x64,0x54,0x4c,0x00,0x00,0x00,0x00, // 2
00037     0x44,0x54,0x7c,0x00,0x00,0x00,0x00, // 3
00038     0x1c,0x10,0x7c,0x00,0x00,0x00,0x00, // 4
00039     0x5c,0x54,0x34,0x00,0x00,0x00,0x00, // 5
00040     0x7c,0x54,0x74,0x00,0x00,0x00,0x00, // 6
00041     0x04,0x04,0x7c,0x00,0x00,0x00,0x00, // 7
00042     0x7c,0x54,0x7c,0x00,0x00,0x00,0x00, // 8
00043     0x1c,0x14,0x7c,0x00,0x00,0x00,0x00, // 9
00044     0x50,0x00,0x00,0x00,0x00,0x00,0x00, // :
00045     0xd0,0x00,0x00,0x00,0x00,0x00,0x00, // ;
00046     0x20,0x50,0x50,0x00,0x00,0x00,0x00, // <
00047     0x28,0x28,0x28,0x00,0x00,0x00,0x00, // =
00048     0x50,0x50,0x20,0x00,0x00,0x00,0x00, // >
00049     0x02,0x5a,0x0e,0x00,0x00,0x00,0x00, // ?
00050     0x7e,0x42,0x5a,0x5a,0x52,0x5e,0x00, // @
00051     0x7e,0x0a,0x0a,0x7e,0x00,0x00,0x00, // A
00052     0x7e,0x4a,0x4a,0x7c,0x00,0x00,0x00, // B
00053     0x7e,0x42,0x42,0x42,0x00,0x00,0x00, // C
00054     0x7e,0x42,0x42,0x7c,0x00,0x00,0x00, // D
00055     0x7e,0x4a,0x4a,0x42,0x00,0x00,0x00, // E
00056     0x7e,0x0a,0x0a,0x02,0x00,0x00,0x00, // F
00057     0x7e,0x42,0x4a,0x7a,0x00,0x00,0x00, // G
00058     0x7e,0x08,0x08,0x7e,0x00,0x00,0x00, // H
00059     0x42,0x42,0x7e,0x42,0x42,0x00,0x00, // I
00060     0x42,0x42,0x7e,0x02,0x00,0x00,0x00, // J
00061     0x7e,0x08,0x0e,0x78,0x00,0x00,0x00, // K
00062     0x7e,0x40,0x40,0x40,0x00,0x00,0x00, // L
00063     0x7e,0x02,0x06,0x02,0x7e,0x00,0x00, // M
00064     0x7e,0x04,0x08,0x7e,0x00,0x00,0x00, // N
00065     0x7e,0x42,0x42,0x7e,0x00,0x00,0x00, // O
00066     0x7e,0x0a,0x0a,0x0e,0x00,0x00,0x00, // P
00067     0x7e,0x42,0xc2,0x7e,0x00,0x00,0x00, // Q
00068     0x7e,0x0a,0x7a,0x0e,0x00,0x00,0x00, // R
00069     0x4e,0x4a,0x4a,0x7a,0x00,0x00,0x00, // S
00070     0x02,0x02,0x7e,0x02,0x02,0x00,0x00, // T
00071     0x7e,0x40,0x40,0x7e,0x00,0x00,0x00, // U
00072     0x1e,0x20,0x40,0x20,0x1e,0x00,0x00, // V
00073     0x7e,0x40,0x60,0x40,0x7e,0x00,0x00, // W
00074     0x42,0x24,0x18,0x24,0x42,0x00,0x00, // X
00075     0x0e,0x08,0x78,0x08,0x0e,0x00,0x00, // Y
00076     0x62,0x52,0x4a,0x46,0x00,0x00,0x00, // Z
00077     0xff,0x81,0x00,0x00,0x00,0x00,0x00, // [
00078     0x0e,0x70,0x00,0x00,0x00,0x00,0x00, // "\"
00079     0x81,0xff,0x00,0x00,0x00,0x00,0x00, // ]
00080     0x04,0x02,0x04,0x00,0x00,0x00,0x00, // ^
00081     0x40,0x40,0x40,0x40,0x40,0x00,0x00, // _
00082     0x02,0x04,0x00,0x00,0x00,0x00,0x00, // `
00083     0x7c,0x14,0x14,0x7c,0x00,0x00,0x00, // a
00084     0x7c,0x54,0x54,0x78,0x00,0x00,0x00, // b
00085     0x7c,0x44,0x44,0x44,0x00,0x00,0x00, // c
00086     0x7c,0x44,0x44,0x78,0x00,0x00,0x00, // d
00087     0x7c,0x54,0x54,0x44,0x00,0x00,0x00, // e
00088     0x7c,0x14,0x14,0x04,0x00,0x00,0x00, // f
00089     0x7c,0x44,0x54,0x74,0x00,0x00,0x00, // g
00090     0x7c,0x10,0x10,0x7c,0x00,0x00,0x00, // h
00091     0x44,0x44,0x7c,0x44,0x44,0x00,0x00, // i
00092     0x44,0x44,0x7c,0x04,0x00,0x00,0x00, // j
00093     0x7c,0x10,0x1c,0x70,0x00,0x00,0x00, // k
00094     0x7c,0x40,0x40,0x40,0x00,0x00,0x00, // l
00095     0x7c,0x04,0x0c,0x04,0x7c,0x00,0x00, // m
00096     0x7c,0x08,0x10,0x7c,0x00,0x00,0x00, // n
00097     0x7c,0x44,0x44,0x7c,0x00,0x00,0x00, // o
00098     0x7c,0x14,0x14,0x1c,0x00,0x00,0x00, // p
00099     0x7c,0x44,0xc4,0x7c,0x00,0x00,0x00, // q
00100     0x7c,0x14,0x74,0x1c,0x00,0x00,0x00, // r
00101     0x5c,0x54,0x54,0x74,0x00,0x00,0x00, // s
00102     0x04,0x04,0x7c,0x04,0x04,0x00,0x00, // t
00103     0x7c,0x40,0x40,0x7c,0x00,0x00,0x00, // u
00104     0x1c,0x20,0x40,0x20,0x1c,0x00,0x00, // v
00105     0x7c,0x40,0x60,0x40,0x7c,0x00,0x00, // w
00106     0x44,0x28,0x10,0x28,0x44,0x00,0x00, // x
00107     0x1c,0x10,0x70,0x10,0x1c,0x00,0x00, // y
00108     0x64,0x54,0x4c,0x44,0x00,0x00,0x00, // z
00109     0x08,0xf7,0x81,0x00,0x00,0x00,0x00, // 
00110     0xff,0x00,0x00,0x00,0x00,0x00,0x00, // |
00111     0x81,0xf7,0x08,0x00,0x00,0x00,0x00, // 
00112     0x18,0x08,0x10,0x18,0x00,0x00,0x00, // ~
00113     0x00,0x00,0x00,0x00,0x00,0x00,0x00
00114 };