P10

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers led_half_1.h Source File

led_half_1.h

00001 /*
00002  *
00003  * Arial_14
00004  *
00005  * created with FontCreator
00006  * written by F. Maximilian Thiele
00007  *
00008  * http://www.apetech.de/fontCreator
00009  * me@apetech.de
00010  *
00011  * File Name           : Arial14.h
00012  * Date                : 02.05.2008
00013  * Font size in bytes  : 7788
00014  * Font width          : 10
00015  * Font height         : 14
00016  * Font first char     : 32
00017  * Font last char      : 128
00018  * Font used chars     : 96
00019  *
00020  * The font data are defined as
00021  *
00022  * struct _FONT_ {
00023  *     uint16_t   font_Size_in_Bytes_over_all_included_Size_it_self;
00024  *     uint8_t    font_Width_in_Pixel_for_fixed_drawing;
00025  *     uint8_t    font_Height_in_Pixel_for_all_characters;
00026  *     unit8_t    font_First_Char;
00027  *     uint8_t    font_Char_Count;
00028  *
00029  *     uint8_t    font_Char_Widths[font_Last_Char - font_First_Char +1];
00030  *                  // for each character the separate width in pixels,
00031  *                  // characters < 128 have an implicit virtual right empty row
00032  *
00033  *     uint8_t    font_data[];
00034  *                  // bit field of all characters
00035  */
00036 
00037 #include <inttypes.h>
00038 #include "mbed.h"
00039 
00040 #ifndef LED_HALF_1
00041 #define Led_HALF_1
00042 
00043 #define LED_HALF_1_WIDTH 10
00044 #define LED_HALF_1_HEIGHT 14
00045 
00046 const static uint8_t Led_half_1[2000]  = {
00047   0x0, 0x0, // size of zero indicates fixed width font, actual length is width * height
00048     0x05, // width
00049     0x07, // height
00050     0x20, // first char
00051     0x60, // char count
00052     
00053     // char width
00054         0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
00055     0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
00056     0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
00057     0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
00058     0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
00059     0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,0x05,
00060     // font data
00061     0x00, 0x00, 0x00, 0x00, 0x00,// (space)
00062     0x00, 0x00, 0x5F, 0x00, 0x00,// !
00063     0x00, 0x07, 0x00, 0x07, 0x00,// "
00064     0x14, 0x7F, 0x14, 0x7F, 0x14,// #
00065     0x24, 0x2A, 0x7F, 0x2A, 0x12,// $
00066     0x23, 0x13, 0x08, 0x64, 0x62,// %
00067     0x36, 0x49, 0x55, 0x22, 0x50,// &
00068     0x00, 0x05, 0x03, 0x00, 0x00,// '
00069     0x00, 0x1C, 0x22, 0x41, 0x00,// (
00070     0x00, 0x41, 0x22, 0x1C, 0x00,// )
00071     0x08, 0x2A, 0x1C, 0x2A, 0x08,// *
00072     0x08, 0x08, 0x3E, 0x08, 0x08,// +
00073     0x00, 0x50, 0x30, 0x00, 0x00,// ,
00074     0x08, 0x08, 0x08, 0x08, 0x08,// -
00075     0x00, 0x60, 0x60, 0x00, 0x00,// .
00076     0x20, 0x10, 0x08, 0x04, 0x02,// /
00077     0x3E, 0x51, 0x49, 0x45, 0x3E,// 0
00078     0x00, 0x42, 0x7F, 0x40, 0x00,// 1
00079     0x42, 0x61, 0x51, 0x49, 0x46,// 2
00080     0x21, 0x41, 0x45, 0x4B, 0x31,// 3
00081     0x18, 0x14, 0x12, 0x7F, 0x10,// 4
00082     0x27, 0x45, 0x45, 0x45, 0x39,// 5
00083     0x3C, 0x4A, 0x49, 0x49, 0x30,// 6
00084     0x01, 0x71, 0x09, 0x05, 0x03,// 7
00085     0x36, 0x49, 0x49, 0x49, 0x36,// 8
00086     0x06, 0x49, 0x49, 0x29, 0x1E,// 9
00087     0x00, 0x36, 0x36, 0x00, 0x00,// :
00088     0x00, 0x56, 0x36, 0x00, 0x00,// ;
00089     0x00, 0x08, 0x14, 0x22, 0x41,// <
00090     0x14, 0x14, 0x14, 0x14, 0x14,// =
00091     0x41, 0x22, 0x14, 0x08, 0x00,// >
00092     0x02, 0x01, 0x51, 0x09, 0x06,// ?
00093     0x32, 0x49, 0x79, 0x41, 0x3E,// @
00094     0x7E, 0x11, 0x11, 0x11, 0x7E,// A
00095     0x7F, 0x49, 0x49, 0x49, 0x36,// B
00096     0x3E, 0x41, 0x41, 0x41, 0x22,// C
00097     0x7F, 0x41, 0x41, 0x22, 0x1C,// D
00098     0x7F, 0x49, 0x49, 0x49, 0x41,// E
00099     0x7F, 0x09, 0x09, 0x01, 0x01,// F
00100     0x3E, 0x41, 0x41, 0x51, 0x32,// G
00101     0x7F, 0x08, 0x08, 0x08, 0x7F,// H
00102     0x00, 0x41, 0x7F, 0x41, 0x00,// I
00103     0x20, 0x40, 0x41, 0x3F, 0x01,// J
00104     0x7F, 0x08, 0x14, 0x22, 0x41,// K
00105     0x7F, 0x40, 0x40, 0x40, 0x40,// L
00106     0x7F, 0x02, 0x04, 0x02, 0x7F,// M
00107     0x7F, 0x04, 0x08, 0x10, 0x7F,// N
00108     0x3E, 0x41, 0x41, 0x41, 0x3E,// O
00109     0x7F, 0x09, 0x09, 0x09, 0x06,// P
00110     0x3E, 0x41, 0x51, 0x21, 0x5E,// Q
00111     0x7F, 0x09, 0x19, 0x29, 0x46,// R
00112     0x46, 0x49, 0x49, 0x49, 0x31,// S
00113     0x01, 0x01, 0x7F, 0x01, 0x01,// T
00114     0x3F, 0x40, 0x40, 0x40, 0x3F,// U
00115     0x1F, 0x20, 0x40, 0x20, 0x1F,// V
00116     0x7F, 0x20, 0x18, 0x20, 0x7F,// W
00117     0x63, 0x14, 0x08, 0x14, 0x63,// X
00118     0x03, 0x04, 0x78, 0x04, 0x03,// Y
00119     0x61, 0x51, 0x49, 0x45, 0x43,// Z
00120     0x00, 0x00, 0x7F, 0x41, 0x41,// [
00121     0x02, 0x04, 0x08, 0x10, 0x20,// "\"
00122     0x41, 0x41, 0x7F, 0x00, 0x00,// ]
00123     0x04, 0x02, 0x01, 0x02, 0x04,// ^
00124     0x40, 0x40, 0x40, 0x40, 0x40,// _
00125     0x00, 0x01, 0x02, 0x04, 0x00,// `
00126     0x20, 0x54, 0x54, 0x54, 0x78,// a
00127     0x7F, 0x48, 0x44, 0x44, 0x38,// b
00128     0x38, 0x44, 0x44, 0x44, 0x20,// c
00129     0x38, 0x44, 0x44, 0x48, 0x7F,// d
00130     0x38, 0x54, 0x54, 0x54, 0x18,// e
00131     0x08, 0x7E, 0x09, 0x01, 0x02,// f
00132     0x08, 0x14, 0x54, 0x54, 0x3C,// g
00133     0x7F, 0x08, 0x04, 0x04, 0x78,// h
00134     0x00, 0x44, 0x7D, 0x40, 0x00,// i
00135     0x20, 0x40, 0x44, 0x3D, 0x00,// j
00136     0x00, 0x7F, 0x10, 0x28, 0x44,// k
00137     0x00, 0x41, 0x7F, 0x40, 0x00,// l
00138     0x7C, 0x04, 0x18, 0x04, 0x78,// m
00139     0x7C, 0x08, 0x04, 0x04, 0x78,// n
00140     0x38, 0x44, 0x44, 0x44, 0x38,// o
00141     0x7C, 0x14, 0x14, 0x14, 0x08,// p
00142     0x08, 0x14, 0x14, 0x18, 0x7C,// q
00143     0x7C, 0x08, 0x04, 0x04, 0x08,// r
00144     0x48, 0x54, 0x54, 0x54, 0x20,// s
00145     0x04, 0x3F, 0x44, 0x40, 0x20,// t
00146     0x3C, 0x40, 0x40, 0x20, 0x7C,// u
00147     0x1C, 0x20, 0x40, 0x20, 0x1C,// v
00148     0x3C, 0x40, 0x30, 0x40, 0x3C,// w
00149     0x44, 0x28, 0x10, 0x28, 0x44,// x
00150     0x0C, 0x50, 0x50, 0x50, 0x3C,// y
00151     0x44, 0x64, 0x54, 0x4C, 0x44,// z
00152     0x00, 0x08, 0x36, 0x41, 0x00,// {
00153     0x00, 0x00, 0x7F, 0x00, 0x00,// |
00154     0x00, 0x41, 0x36, 0x08, 0x00,// }
00155     0x08, 0x08, 0x2A, 0x1C, 0x08,// ->
00156     0x08, 0x1C, 0x2A, 0x08, 0x08 // <-
00157     
00158 };
00159 
00160 #endif
00161 
00162