PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)
Embed:
(wiki syntax)
Show/hide line numbers
font3x5.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 FONT3X5_C 00021 #define FONT3X5_C 00022 00023 #include <stdint.h> 00024 #include "PokittoFonts.h " 00025 00026 #define PROGMEM 00027 00028 const uint8_t font3x5[] PROGMEM = { 00029 3,5,0,0, //width and height, start char and only caps 00030 3, 0x3F, 0x21, 0x3F, // 0 00031 3,0x12, 0x08, 0x12, // 1 00032 3,0x0A, 0x10, 0x0A, // 2 00033 3,0x0E, 0x1C, 0x0E, // 3 00034 3,0x0C, 0x1E, 0x0C, // 4 00035 3,0x14, 0x1A, 0x14, // 5 00036 3,0x16, 0x1F, 0x16, // 6 00037 3,0x1E, 0x13, 0x1E, // 7 00038 3,0x1E, 0x1B, 0x1E, // 8 00039 3,0x1E, 0x1F, 0x1E, // 9 00040 3,0x3F, 0x21, 0x3F, // 10 00041 3,0x3A, 0x2F, 0x3A, // 11 00042 3,0x17, 0x3D, 0x17, // 12 00043 3,0x3F, 0x21, 0x3F, // 13 00044 3,0x18, 0x1F, 0x02, // 14 00045 3,0x04, 0x0A, 0x04, // 15 00046 3,0x1F, 0x0E, 0x04, // 16 00047 3,0x04, 0x0E, 0x1F, // 17 00048 3,0x0A, 0x1F, 0x0A, // 18 00049 3,0x0E, 0x0E, 0x1F, // 19 00050 3,0x04, 0x11, 0x0E, // 20 00051 3,0x2E, 0x25, 0x2E, // 21 00052 3,0x2F, 0x2A, 0x2E, // 22 00053 3,0x26, 0x29, 0x29, // 23 00054 3,0x02, 0x1F, 0x02, // 24 00055 3,0x08, 0x1F, 0x08, // 25 00056 3,0x15, 0x0E, 0x04, // 26 00057 3,0x04, 0x0E, 0x15, // 27 00058 3,0x0E, 0x15, 0x15, // 28 00059 3,0x1B, 0x15, 0x1B, // 29 00060 3,0x04, 0x06, 0x04, // 30 00061 3,0x04, 0x0C, 0x04, // 31 00062 3,0x00, 0x00, 0x00, // 32 00063 3,0x00, 0x17, 0x00, // 33 00064 3,0x03, 0x00, 0x03, // 34 00065 3,0x1F, 0x0A, 0x1F, // 35 00066 3,0x16, 0x37, 0x1A, // 36 00067 3,0x19, 0x04, 0x13, // 37 00068 3,0x0A, 0x15, 0x3A, // 38 00069 3,0x00, 0x03, 0x00, // 39 00070 3,0x00, 0x0E, 0x11, // 40 00071 3,0x11, 0x0E, 0x00, // 41 00072 3,0x0A, 0x04, 0x0A, // 42 00073 3,0x04, 0x0E, 0x04, // 43 00074 3,0x00, 0x30, 0x00, // 44 00075 3,0x04, 0x04, 0x04, // 45 00076 3,0x00, 0x10, 0x00, // 46 00077 3,0x18, 0x04, 0x03, // 47 00078 3,0x1F, 0x11, 0x1F, // 48 00079 3,0x12, 0x1F, 0x10, // 49 00080 3,0x1D, 0x15, 0x17, // 50 00081 3,0x11, 0x15, 0x1F, // 51 00082 3,0x07, 0x04, 0x1F, // 52 00083 3,0x17, 0x15, 0x1D, // 53 00084 3,0x1F, 0x15, 0x1D, // 54 00085 3,0x01, 0x01, 0x1F, // 55 00086 3,0x1F, 0x15, 0x1F, // 56 00087 3,0x17, 0x15, 0x1F, // 57 00088 3,0x00, 0x0A, 0x00, // 58 00089 3,0x00, 0x32, 0x00, // 59 00090 3,0x04, 0x0A, 0x11, // 60 00091 3,0x0A, 0x0A, 0x0A, // 61 00092 3,0x11, 0x0A, 0x04, // 62 00093 3,0x01, 0x15, 0x02, // 63 00094 3,0x0E, 0x11, 0x17, // 64 00095 3,0x1E, 0x05, 0x1E, // 65 00096 3,0x1F, 0x15, 0x0A, // 66 00097 3,0x0E, 0x11, 0x0A, // 67 00098 3,0x1F, 0x11, 0x0E, // 68 00099 3,0x1F, 0x15, 0x11, // 69 00100 3,0x1F, 0x05, 0x01, // 70 00101 3,0x0E, 0x11, 0x1D, // 71 00102 3,0x1F, 0x04, 0x1F, // 72 00103 3,0x11, 0x1F, 0x11, // 73 00104 3,0x08, 0x10, 0x0F, // 74 00105 3,0x1F, 0x04, 0x1B, // 75 00106 3,0x1F, 0x10, 0x10, // 76 00107 3,0x1F, 0x06, 0x1F, // 77 00108 3,0x1E, 0x04, 0x0F, // 78 00109 3,0x0E, 0x11, 0x0E, // 79 00110 3,0x1F, 0x09, 0x06, // 80 00111 3,0x0E, 0x11, 0x2E, // 81 00112 3,0x1F, 0x05, 0x1A, // 82 00113 3,0x12, 0x15, 0x09, // 83 00114 3,0x01, 0x1F, 0x01, // 84 00115 3,0x1F, 0x10, 0x1F, // 85 00116 3,0x0F, 0x18, 0x0F, // 86 00117 3,0x1F, 0x0C, 0x1F, // 87 00118 3,0x1B, 0x04, 0x1B, // 88 00119 3,0x03, 0x1C, 0x03, // 89 00120 3,0x19, 0x15, 0x13, // 90 00121 3,0x00, 0x1F, 0x11, // 91 00122 3,0x03, 0x04, 0x18, // 92 00123 3,0x11, 0x1F, 0x00, // 93 00124 3,0x02, 0x01, 0x02, // 94 00125 3,0x20, 0x20, 0x20, // 95 00126 3,0x00, 0x01, 0x02, // 96 00127 3,0x0C, 0x12, 0x1E, // 97 00128 3,0x1F, 0x12, 0x0C, // 98 00129 3,0x0C, 0x12, 0x12, // 99 00130 3,0x0C, 0x12, 0x1F, // 100 00131 3,0x0C, 0x1A, 0x14, // 101 00132 3,0x04, 0x1E, 0x05, // 102 00133 3,0x24, 0x2A, 0x1E, // 103 00134 3,0x1F, 0x02, 0x1C, // 104 00135 3,0x14, 0x1D, 0x10, // 105 00136 3,0x20, 0x20, 0x1D, // 106 00137 3,0x1F, 0x08, 0x14, // 107 00138 3,0x11, 0x1F, 0x10, // 108 00139 3,0x1E, 0x04, 0x1E, // 109 00140 3,0x1E, 0x02, 0x1C, // 110 00141 3,0x0C, 0x12, 0x0C, // 111 00142 3,0x3E, 0x0A, 0x04, // 112 00143 3,0x0C, 0x12, 0x3E, // 113 00144 3,0x1E, 0x04, 0x02, // 114 00145 3,0x14, 0x16, 0x0A, // 115 00146 3,0x02, 0x0F, 0x12, // 116 00147 3,0x0E, 0x10, 0x1E, // 117 00148 3,0x0E, 0x10, 0x0E, // 118 00149 3,0x1E, 0x08, 0x1E, // 119 00150 3,0x12, 0x0C, 0x12, // 120 00151 3,0x26, 0x28, 0x1E, // 121 00152 3,0x32, 0x2A, 0x26, // 122 00153 3,0x04, 0x1E, 0x21, // 123 00154 3,0x00, 0x1F, 0x00, // 124 00155 3,0x21, 0x1E, 0x04, // 125 00156 3,0x01, 0x02, 0x01, // 126 00157 3,0x3F, 0x21, 0x3F // 127 00158 }; 00159 00160 #endif 00161
Generated on Tue Jul 12 2022 21:03:50 by 1.7.2