ArduinoLibs
Mono5x7.h
00001 
00002 
00003 /*
00004  *
00005  * Mono5x7
00006  *
00007  * created with FontCreator
00008  * written by F. Maximilian Thiele
00009  *
00010  * http://www.apetech.de/fontCreator
00011  * me@apetech.de
00012  *
00013  * File Name           : Mono5x7.h
00014  * Date                : 29.05.2012
00015  * Font size in bytes  : 3462
00016  * Font width          : 5
00017  * Font height         : 7
00018  * Font first char     : 32
00019  * Font last char      : 128
00020  * Font used chars     : 96
00021  *
00022  * The font data are defined as
00023  *
00024  * struct _FONT_ {
00025  *     uint16_t   font_Size_in_Bytes_over_all_included_Size_it_self;
00026  *     uint8_t    font_Width_in_Pixel_for_fixed_drawing;
00027  *     uint8_t    font_Height_in_Pixel_for_all_characters;
00028  *     unit8_t    font_First_Char;
00029  *     uint8_t    font_Char_Count;
00030  *
00031  *     uint8_t    font_Char_Widths[font_Last_Char - font_First_Char +1];
00032  *                  // for each character the separate width in pixels,
00033  *                  // characters < 128 have an implicit virtual right empty row
00034  *
00035  *     uint8_t    font_data[];
00036  *                  // bit field of all characters
00037  */
00038 
00039 #include <inttypes.h>
00040 #include <avr/pgmspace.h>
00041 
00042 #ifndef MONO5X7_H
00043 #define MONO5X7_H
00044 
00045 #define MONO5X7_WIDTH 5
00046 #define MONO5X7_HEIGHT 7
00047 
00048 static uint8_t Mono5x7[] PROGMEM = {
00049     0x00, 0x00, // size
00050     0x05, // width
00051     0x07, // height
00052     0x20, // first char
00053     0x60, // char count
00054     
00055     // font data
00056     0x00, 0x00, 0x00, 0x00, 0x00, // 32
00057     0x00, 0x00, 0x5F, 0x00, 0x00, // 33
00058     0x00, 0x07, 0x00, 0x07, 0x00, // 34
00059     0x14, 0x7F, 0x14, 0x7F, 0x14, // 35
00060     0x24, 0x2A, 0x7F, 0x2A, 0x12, // 36
00061     0x23, 0x13, 0x08, 0x64, 0x62, // 37
00062     0x36, 0x49, 0x55, 0x22, 0x50, // 38
00063     0x00, 0x05, 0x03, 0x00, 0x00, // 39
00064     0x00, 0x1C, 0x22, 0x41, 0x00, // 40
00065     0x00, 0x41, 0x22, 0x1C, 0x00, // 41
00066     0x14, 0x08, 0x3E, 0x08, 0x14, // 42
00067     0x08, 0x08, 0x3E, 0x08, 0x08, // 43
00068     0x00, 0x50, 0x30, 0x00, 0x00, // 44
00069     0x08, 0x08, 0x08, 0x08, 0x08, // 45
00070     0x00, 0x60, 0x60, 0x00, 0x00, // 46
00071     0x20, 0x10, 0x08, 0x04, 0x02, // 47
00072     0x3E, 0x51, 0x49, 0x45, 0x3E, // 48
00073     0x00, 0x42, 0x7F, 0x40, 0x00, // 49
00074     0x42, 0x61, 0x51, 0x49, 0x46, // 50
00075     0x21, 0x41, 0x45, 0x4B, 0x31, // 51
00076     0x18, 0x14, 0x12, 0x7F, 0x10, // 52
00077     0x27, 0x45, 0x45, 0x45, 0x39, // 53
00078     0x3C, 0x4A, 0x49, 0x49, 0x30, // 54
00079     0x01, 0x71, 0x09, 0x05, 0x03, // 55
00080     0x36, 0x49, 0x49, 0x49, 0x36, // 56
00081     0x06, 0x49, 0x49, 0x29, 0x1E, // 57
00082     0x00, 0x36, 0x36, 0x00, 0x00, // 58
00083     0x00, 0x56, 0x36, 0x00, 0x00, // 59
00084     0x08, 0x14, 0x22, 0x41, 0x00, // 60
00085     0x14, 0x14, 0x14, 0x14, 0x14, // 61
00086     0x00, 0x41, 0x22, 0x14, 0x08, // 62
00087     0x02, 0x01, 0x51, 0x09, 0x06, // 63
00088     0x32, 0x49, 0x79, 0x41, 0x3E, // 64
00089     0x7E, 0x11, 0x11, 0x11, 0x7E, // 65
00090     0x7F, 0x49, 0x49, 0x49, 0x36, // 66
00091     0x3E, 0x41, 0x41, 0x41, 0x22, // 67
00092     0x7F, 0x41, 0x41, 0x22, 0x1C, // 68
00093     0x7F, 0x49, 0x49, 0x49, 0x41, // 69
00094     0x7F, 0x09, 0x09, 0x09, 0x01, // 70
00095     0x3E, 0x41, 0x49, 0x49, 0x78, // 71
00096     0x7F, 0x08, 0x08, 0x08, 0x7F, // 72
00097     0x00, 0x41, 0x7F, 0x41, 0x00, // 73
00098     0x20, 0x40, 0x41, 0x3F, 0x01, // 74
00099     0x7F, 0x08, 0x14, 0x22, 0x41, // 75
00100     0x7F, 0x40, 0x40, 0x40, 0x40, // 76
00101     0x7F, 0x02, 0x0C, 0x02, 0x7F, // 77
00102     0x7F, 0x04, 0x08, 0x10, 0x7F, // 78
00103     0x3E, 0x41, 0x41, 0x41, 0x3E, // 79
00104     0x7F, 0x09, 0x09, 0x09, 0x06, // 80
00105     0x3E, 0x41, 0x51, 0x21, 0x5E, // 81
00106     0x7F, 0x09, 0x19, 0x29, 0x46, // 82
00107     0x46, 0x49, 0x49, 0x49, 0x31, // 83
00108     0x01, 0x01, 0x7F, 0x01, 0x01, // 84
00109     0x3F, 0x40, 0x40, 0x40, 0x3F, // 85
00110     0x1F, 0x20, 0x40, 0x20, 0x1F, // 86
00111     0x3F, 0x40, 0x38, 0x40, 0x3F, // 87
00112     0x63, 0x14, 0x08, 0x14, 0x63, // 88
00113     0x07, 0x08, 0x70, 0x08, 0x07, // 89
00114     0x61, 0x51, 0x49, 0x45, 0x43, // 90
00115     0x00, 0x7F, 0x41, 0x41, 0x00, // 91
00116     0x02, 0x04, 0x08, 0x10, 0x20, // 92
00117     0x00, 0x41, 0x41, 0x7F, 0x00, // 93
00118     0x04, 0x02, 0x01, 0x02, 0x04, // 94
00119     0x40, 0x40, 0x40, 0x40, 0x40, // 95
00120     0x00, 0x02, 0x04, 0x08, 0x00, // 96
00121     0x20, 0x54, 0x54, 0x54, 0x78, // 97
00122     0x7F, 0x48, 0x44, 0x44, 0x38, // 98
00123     0x38, 0x44, 0x44, 0x44, 0x20, // 99
00124     0x38, 0x44, 0x44, 0x48, 0x7F, // 100
00125     0x38, 0x54, 0x54, 0x54, 0x18, // 101
00126     0x08, 0x7E, 0x09, 0x01, 0x02, // 102
00127     0x0C, 0x52, 0x52, 0x52, 0x3E, // 103
00128     0x7F, 0x08, 0x04, 0x04, 0x78, // 104
00129     0x00, 0x44, 0x7D, 0x40, 0x00, // 105
00130     0x20, 0x40, 0x44, 0x3D, 0x00, // 106
00131     0x7F, 0x10, 0x28, 0x44, 0x00, // 107
00132     0x00, 0x41, 0x7F, 0x40, 0x00, // 108
00133     0x7C, 0x04, 0x18, 0x04, 0x78, // 109
00134     0x7C, 0x08, 0x04, 0x04, 0x78, // 110
00135     0x38, 0x44, 0x44, 0x44, 0x38, // 111
00136     0x7C, 0x14, 0x14, 0x14, 0x08, // 112
00137     0x08, 0x14, 0x14, 0x18, 0x7C, // 113
00138     0x7C, 0x08, 0x04, 0x04, 0x08, // 114
00139     0x48, 0x54, 0x54, 0x54, 0x20, // 115
00140     0x04, 0x3F, 0x44, 0x40, 0x00, // 116
00141     0x3C, 0x40, 0x40, 0x20, 0x7C, // 117
00142     0x1C, 0x20, 0x40, 0x20, 0x1C, // 118
00143     0x3C, 0x40, 0x30, 0x40, 0x3C, // 119
00144     0x44, 0x28, 0x10, 0x28, 0x44, // 120
00145     0x0C, 0x50, 0x50, 0x50, 0x3C, // 121
00146     0x44, 0x64, 0x54, 0x4C, 0x44, // 122
00147     0x00, 0x08, 0x36, 0x41, 0x00, // 123
00148     0x00, 0x00, 0x7F, 0x00, 0x00, // 124
00149     0x00, 0x41, 0x36, 0x08, 0x00, // 125
00150     0x08, 0x04, 0x08, 0x10, 0x08, // 126
00151     0x00, 0x00, 0x00, 0x00, 0x00 // 127
00152     
00153 };
00154 
00155 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator