PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers font3x3.cpp Source File

font3x3.cpp

00001 /*
00002  * (C) Copyright 2014 Aurélien Rodot. All rights reserved.
00003  *
00004  * This file is part of the Gamebuino Library (http://gamebuino.com)
00005  *
00006  * The Gamebuino Library is free software: you can redistribute it and/or modify
00007  * it under the terms of the GNU Lesser General Public License as published by
00008  * the Free Software Foundation, either version 3 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public License
00017  * along with this program.  If not, see <http://www.gnu.org/licenses/>
00018  */
00019 
00020 #ifndef FONT3x3_C
00021 #define FONT3x3_C
00022 
00023 #include <stdint.h> //jonne
00024 #include "PokittoFonts.h "
00025 
00026 //standard ascii 3x3font
00027 #define PROGMEM
00028 const uint8_t font3x3[] PROGMEM = {
00029     3,3,0,0,//width and height
00030     3,0x07, 0x05, 0x07, // 0
00031     3,0x05, 0x04, 0x05, // 1
00032     3,0x05, 0x04, 0x05, // 2
00033     3,0x03, 0x06, 0x03, // 3
00034     3,0x02, 0x07, 0x02, // 4
00035     3,0x02, 0x01, 0x02, // 5
00036     3,0x02, 0x03, 0x02, // 6
00037     3,0x0E, 0x09, 0x0E, // 7
00038     3,0x0E, 0x0D, 0x0E, // 8
00039     3,0x0E, 0x0F, 0x0E, // 9
00040     3,0x07, 0x05, 0x07, // 10
00041     3,0x05, 0x03, 0x07, // 11
00042     3,0x05, 0x0F, 0x05, // 12
00043     3,0x07, 0x05, 0x07, // 13
00044     3,0x06, 0x07, 0x01, // 14
00045     3,0x02, 0x05, 0x02, // 15
00046     3,0x00, 0x07, 0x02, // 16
00047     3,0x02, 0x07, 0x00, // 17
00048     3,0x02, 0x07, 0x02, // 18
00049     3,0x00, 0x02, 0x07, // 19
00050     3,0x02, 0x00, 0x07, // 20
00051     3,0x06, 0x03, 0x06, // 21
00052     3,0x07, 0x07, 0x02, // 22
00053     3,0x02, 0x05, 0x05, // 23
00054     3,0x02, 0x01, 0x02, // 24
00055     3,0x02, 0x04, 0x02, // 25
00056     3,0x00, 0x05, 0x02, // 26
00057     3,0x02, 0x05, 0x00, // 27
00058     3,0x06, 0x07, 0x05, // 28
00059     3,0x05, 0x07, 0x05, // 29
00060     3,0x02, 0x03, 0x02, // 30
00061     3,0x02, 0x06, 0x02, // 31
00062     3,0x00, 0x00, 0x00, // 32
00063     3,0x00, 0x0B, 0x00, // 33
00064     3,0x03, 0x00, 0x03, // 34
00065     3,0x07, 0x05, 0x07, // 35
00066     3,0x04, 0x07, 0x01, // 36
00067     3,0x05, 0x02, 0x05, // 37
00068     3,0x07, 0x07, 0x04, // 38
00069     3,0x00, 0x03, 0x00, // 39
00070     3,0x00, 0x07, 0x05, // 40
00071     3,0x05, 0x07, 0x00, // 41
00072     3,0x05, 0x00, 0x05, // 42
00073     3,0x02, 0x07, 0x02, // 43
00074     3,0x00, 0x0C, 0x00, // 44
00075     3,0x02, 0x02, 0x02, // 45
00076     3,0x00, 0x04, 0x00, // 46
00077     3,0x04, 0x02, 0x01, // 47
00078     3,0x07, 0x05, 0x07, // 48
00079     3,0x05, 0x07, 0x04, // 49
00080     3,0x01, 0x07, 0x04, // 50
00081     3,0x05, 0x07, 0x02, // 51
00082     3,0x03, 0x02, 0x07, // 52
00083     3,0x04, 0x07, 0x01, // 53
00084     3,0x07, 0x06, 0x06, // 54
00085     3,0x01, 0x01, 0x07, // 55
00086     3,0x07, 0x07, 0x07, // 56
00087     3,0x03, 0x03, 0x07, // 57
00088     3,0x00, 0x05, 0x00, // 58
00089     3,0x00, 0x0D, 0x00, // 59
00090     3,0x02, 0x05, 0x00, // 60
00091     3,0x05, 0x05, 0x05, // 61
00092     3,0x00, 0x05, 0x02, // 62
00093     3,0x01, 0x07, 0x03, // 63
00094     3,0x0F, 0x09, 0x03, // 64
00095     3,0x06, 0x03, 0x06, // 65
00096     3,0x07, 0x07, 0x02, // 66
00097     3,0x02, 0x05, 0x05, // 67
00098     3,0x07, 0x07, 0x02, // 68
00099     3,0x07, 0x07, 0x05, // 69
00100     3,0x07, 0x03, 0x01, // 70
00101     3,0x07, 0x05, 0x06, // 71
00102     3,0x07, 0x02, 0x07, // 72
00103     3,0x05, 0x07, 0x05, // 73
00104     3,0x04, 0x04, 0x03, // 74
00105     3,0x07, 0x02, 0x05, // 75
00106     3,0x07, 0x04, 0x04, // 76
00107     3,0x07, 0x03, 0x07, // 77
00108     3,0x07, 0x01, 0x06, // 78
00109     3,0x07, 0x05, 0x07, // 79
00110     3,0x07, 0x03, 0x03, // 80
00111     3,0x07, 0x05, 0x03, // 81
00112     3,0x07, 0x03, 0x06, // 82
00113     3,0x04, 0x07, 0x01, // 83
00114     3,0x01, 0x07, 0x01, // 84
00115     3,0x07, 0x04, 0x07, // 85
00116     3,0x03, 0x04, 0x03, // 86
00117     3,0x07, 0x06, 0x07, // 87
00118     3,0x05, 0x02, 0x05, // 88
00119     3,0x01, 0x06, 0x01, // 89
00120     3,0x01, 0x07, 0x04, // 90
00121     3,0x00, 0x07, 0x05, // 91
00122     3,0x01, 0x02, 0x04, // 92
00123     3,0x05, 0x07, 0x00, // 93
00124     3,0x02, 0x01, 0x02, // 94
00125     3,0x08, 0x08, 0x08, // 95
00126     3,0x00, 0x03, 0x00, // 96
00127     3,0x06, 0x03, 0x06, // 97
00128     3,0x07, 0x07, 0x02, // 98
00129     3,0x02, 0x05, 0x05, // 99
00130     3,0x07, 0x05, 0x02, // 100
00131     3,0x07, 0x07, 0x05, // 101
00132     3,0x07, 0x03, 0x01, // 102
00133     3,0x07, 0x05, 0x06, // 103
00134     3,0x07, 0x02, 0x07, // 104
00135     3,0x05, 0x07, 0x05, // 105
00136     3,0x04, 0x04, 0x03, // 106
00137     3,0x07, 0x02, 0x05, // 107
00138     3,0x07, 0x04, 0x04, // 108
00139     3,0x07, 0x03, 0x07, // 109
00140     3,0x07, 0x01, 0x06, // 110
00141     3,0x07, 0x05, 0x07, // 111
00142     3,0x07, 0x03, 0x03, // 112
00143     3,0x07, 0x05, 0x03, // 113
00144     3,0x07, 0x03, 0x06, // 114
00145     3,0x04, 0x07, 0x01, // 115
00146     3,0x01, 0x07, 0x01, // 116
00147     3,0x07, 0x04, 0x07, // 117
00148     3,0x03, 0x04, 0x03, // 118
00149     3,0x07, 0x06, 0x07, // 119
00150     3,0x05, 0x02, 0x05, // 120
00151     3,0x01, 0x06, 0x01, // 121
00152     3,0x01, 0x07, 0x04, // 122
00153     3,0x02, 0x07, 0x05, // 123
00154     3,0x00, 0x07, 0x00, // 124
00155     3,0x05, 0x07, 0x02, // 125
00156     3,0x06, 0x02, 0x03, // 126
00157     3,0x07, 0x05, 0x07 // 127
00158 };
00159 
00160 #endif
00161