PokittoLib with changes to lcd refresh etc.

Dependents:   Pokittris

Fork of Pokitto by Pokitto Community Team

This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.

Committer:
Pokitto
Date:
Mon Sep 18 11:47:51 2017 +0000
Revision:
0:e8b8f36b4505
Initial;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Pokitto 0:e8b8f36b4505 1 /*
Pokitto 0:e8b8f36b4505 2 * (C) Copyright 2014 Aurélien Rodot. All rights reserved.
Pokitto 0:e8b8f36b4505 3 *
Pokitto 0:e8b8f36b4505 4 * This file is part of the Gamebuino Library (http://gamebuino.com)
Pokitto 0:e8b8f36b4505 5 *
Pokitto 0:e8b8f36b4505 6 * The Gamebuino Library is free software: you can redistribute it and/or modify
Pokitto 0:e8b8f36b4505 7 * it under the terms of the GNU Lesser General Public License as published by
Pokitto 0:e8b8f36b4505 8 * the Free Software Foundation, either version 3 of the License, or
Pokitto 0:e8b8f36b4505 9 * (at your option) any later version.
Pokitto 0:e8b8f36b4505 10 *
Pokitto 0:e8b8f36b4505 11 * This program is distributed in the hope that it will be useful,
Pokitto 0:e8b8f36b4505 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Pokitto 0:e8b8f36b4505 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
Pokitto 0:e8b8f36b4505 14 * GNU Lesser General Public License for more details.
Pokitto 0:e8b8f36b4505 15 *
Pokitto 0:e8b8f36b4505 16 * You should have received a copy of the GNU Lesser General Public License
Pokitto 0:e8b8f36b4505 17 * along with this program. If not, see <http://www.gnu.org/licenses/>
Pokitto 0:e8b8f36b4505 18 */
Pokitto 0:e8b8f36b4505 19
Pokitto 0:e8b8f36b4505 20 #ifndef FONT3X5_C
Pokitto 0:e8b8f36b4505 21 #define FONT3X5_C
Pokitto 0:e8b8f36b4505 22
Pokitto 0:e8b8f36b4505 23 #include <stdint.h>
Pokitto 0:e8b8f36b4505 24 #include "PokittoFonts.h"
Pokitto 0:e8b8f36b4505 25
Pokitto 0:e8b8f36b4505 26 #define PROGMEM
Pokitto 0:e8b8f36b4505 27
Pokitto 0:e8b8f36b4505 28 const uint8_t font3x5[] PROGMEM = {
Pokitto 0:e8b8f36b4505 29 3,5,0,0, //width and height, start char and only caps
Pokitto 0:e8b8f36b4505 30 3, 0x3F, 0x21, 0x3F, // 0
Pokitto 0:e8b8f36b4505 31 3,0x12, 0x08, 0x12, // 1
Pokitto 0:e8b8f36b4505 32 3,0x0A, 0x10, 0x0A, // 2
Pokitto 0:e8b8f36b4505 33 3,0x0E, 0x1C, 0x0E, // 3
Pokitto 0:e8b8f36b4505 34 3,0x0C, 0x1E, 0x0C, // 4
Pokitto 0:e8b8f36b4505 35 3,0x14, 0x1A, 0x14, // 5
Pokitto 0:e8b8f36b4505 36 3,0x16, 0x1F, 0x16, // 6
Pokitto 0:e8b8f36b4505 37 3,0x1E, 0x13, 0x1E, // 7
Pokitto 0:e8b8f36b4505 38 3,0x1E, 0x1B, 0x1E, // 8
Pokitto 0:e8b8f36b4505 39 3,0x1E, 0x1F, 0x1E, // 9
Pokitto 0:e8b8f36b4505 40 3,0x3F, 0x21, 0x3F, // 10
Pokitto 0:e8b8f36b4505 41 3,0x3A, 0x2F, 0x3A, // 11
Pokitto 0:e8b8f36b4505 42 3,0x17, 0x3D, 0x17, // 12
Pokitto 0:e8b8f36b4505 43 3,0x3F, 0x21, 0x3F, // 13
Pokitto 0:e8b8f36b4505 44 3,0x18, 0x1F, 0x02, // 14
Pokitto 0:e8b8f36b4505 45 3,0x04, 0x0A, 0x04, // 15
Pokitto 0:e8b8f36b4505 46 3,0x1F, 0x0E, 0x04, // 16
Pokitto 0:e8b8f36b4505 47 3,0x04, 0x0E, 0x1F, // 17
Pokitto 0:e8b8f36b4505 48 3,0x0A, 0x1F, 0x0A, // 18
Pokitto 0:e8b8f36b4505 49 3,0x0E, 0x0E, 0x1F, // 19
Pokitto 0:e8b8f36b4505 50 3,0x04, 0x11, 0x0E, // 20
Pokitto 0:e8b8f36b4505 51 3,0x2E, 0x25, 0x2E, // 21
Pokitto 0:e8b8f36b4505 52 3,0x2F, 0x2A, 0x2E, // 22
Pokitto 0:e8b8f36b4505 53 3,0x26, 0x29, 0x29, // 23
Pokitto 0:e8b8f36b4505 54 3,0x02, 0x1F, 0x02, // 24
Pokitto 0:e8b8f36b4505 55 3,0x08, 0x1F, 0x08, // 25
Pokitto 0:e8b8f36b4505 56 3,0x15, 0x0E, 0x04, // 26
Pokitto 0:e8b8f36b4505 57 3,0x04, 0x0E, 0x15, // 27
Pokitto 0:e8b8f36b4505 58 3,0x0E, 0x15, 0x15, // 28
Pokitto 0:e8b8f36b4505 59 3,0x1B, 0x15, 0x1B, // 29
Pokitto 0:e8b8f36b4505 60 3,0x04, 0x06, 0x04, // 30
Pokitto 0:e8b8f36b4505 61 3,0x04, 0x0C, 0x04, // 31
Pokitto 0:e8b8f36b4505 62 3,0x00, 0x00, 0x00, // 32
Pokitto 0:e8b8f36b4505 63 3,0x00, 0x17, 0x00, // 33
Pokitto 0:e8b8f36b4505 64 3,0x03, 0x00, 0x03, // 34
Pokitto 0:e8b8f36b4505 65 3,0x1F, 0x0A, 0x1F, // 35
Pokitto 0:e8b8f36b4505 66 3,0x16, 0x37, 0x1A, // 36
Pokitto 0:e8b8f36b4505 67 3,0x19, 0x04, 0x13, // 37
Pokitto 0:e8b8f36b4505 68 3,0x0A, 0x15, 0x3A, // 38
Pokitto 0:e8b8f36b4505 69 3,0x00, 0x03, 0x00, // 39
Pokitto 0:e8b8f36b4505 70 3,0x00, 0x0E, 0x11, // 40
Pokitto 0:e8b8f36b4505 71 3,0x11, 0x0E, 0x00, // 41
Pokitto 0:e8b8f36b4505 72 3,0x0A, 0x04, 0x0A, // 42
Pokitto 0:e8b8f36b4505 73 3,0x04, 0x0E, 0x04, // 43
Pokitto 0:e8b8f36b4505 74 3,0x00, 0x30, 0x00, // 44
Pokitto 0:e8b8f36b4505 75 3,0x04, 0x04, 0x04, // 45
Pokitto 0:e8b8f36b4505 76 3,0x00, 0x10, 0x00, // 46
Pokitto 0:e8b8f36b4505 77 3,0x18, 0x04, 0x03, // 47
Pokitto 0:e8b8f36b4505 78 3,0x1F, 0x11, 0x1F, // 48
Pokitto 0:e8b8f36b4505 79 3,0x12, 0x1F, 0x10, // 49
Pokitto 0:e8b8f36b4505 80 3,0x1D, 0x15, 0x17, // 50
Pokitto 0:e8b8f36b4505 81 3,0x11, 0x15, 0x1F, // 51
Pokitto 0:e8b8f36b4505 82 3,0x07, 0x04, 0x1F, // 52
Pokitto 0:e8b8f36b4505 83 3,0x17, 0x15, 0x1D, // 53
Pokitto 0:e8b8f36b4505 84 3,0x1F, 0x15, 0x1D, // 54
Pokitto 0:e8b8f36b4505 85 3,0x01, 0x01, 0x1F, // 55
Pokitto 0:e8b8f36b4505 86 3,0x1F, 0x15, 0x1F, // 56
Pokitto 0:e8b8f36b4505 87 3,0x17, 0x15, 0x1F, // 57
Pokitto 0:e8b8f36b4505 88 3,0x00, 0x0A, 0x00, // 58
Pokitto 0:e8b8f36b4505 89 3,0x00, 0x32, 0x00, // 59
Pokitto 0:e8b8f36b4505 90 3,0x04, 0x0A, 0x11, // 60
Pokitto 0:e8b8f36b4505 91 3,0x0A, 0x0A, 0x0A, // 61
Pokitto 0:e8b8f36b4505 92 3,0x11, 0x0A, 0x04, // 62
Pokitto 0:e8b8f36b4505 93 3,0x01, 0x15, 0x02, // 63
Pokitto 0:e8b8f36b4505 94 3,0x0E, 0x11, 0x17, // 64
Pokitto 0:e8b8f36b4505 95 3,0x1E, 0x05, 0x1E, // 65
Pokitto 0:e8b8f36b4505 96 3,0x1F, 0x15, 0x0A, // 66
Pokitto 0:e8b8f36b4505 97 3,0x0E, 0x11, 0x0A, // 67
Pokitto 0:e8b8f36b4505 98 3,0x1F, 0x11, 0x0E, // 68
Pokitto 0:e8b8f36b4505 99 3,0x1F, 0x15, 0x11, // 69
Pokitto 0:e8b8f36b4505 100 3,0x1F, 0x05, 0x01, // 70
Pokitto 0:e8b8f36b4505 101 3,0x0E, 0x11, 0x1D, // 71
Pokitto 0:e8b8f36b4505 102 3,0x1F, 0x04, 0x1F, // 72
Pokitto 0:e8b8f36b4505 103 3,0x11, 0x1F, 0x11, // 73
Pokitto 0:e8b8f36b4505 104 3,0x08, 0x10, 0x0F, // 74
Pokitto 0:e8b8f36b4505 105 3,0x1F, 0x04, 0x1B, // 75
Pokitto 0:e8b8f36b4505 106 3,0x1F, 0x10, 0x10, // 76
Pokitto 0:e8b8f36b4505 107 3,0x1F, 0x06, 0x1F, // 77
Pokitto 0:e8b8f36b4505 108 3,0x1E, 0x04, 0x0F, // 78
Pokitto 0:e8b8f36b4505 109 3,0x0E, 0x11, 0x0E, // 79
Pokitto 0:e8b8f36b4505 110 3,0x1F, 0x09, 0x06, // 80
Pokitto 0:e8b8f36b4505 111 3,0x0E, 0x11, 0x2E, // 81
Pokitto 0:e8b8f36b4505 112 3,0x1F, 0x05, 0x1A, // 82
Pokitto 0:e8b8f36b4505 113 3,0x12, 0x15, 0x09, // 83
Pokitto 0:e8b8f36b4505 114 3,0x01, 0x1F, 0x01, // 84
Pokitto 0:e8b8f36b4505 115 3,0x1F, 0x10, 0x1F, // 85
Pokitto 0:e8b8f36b4505 116 3,0x0F, 0x18, 0x0F, // 86
Pokitto 0:e8b8f36b4505 117 3,0x1F, 0x0C, 0x1F, // 87
Pokitto 0:e8b8f36b4505 118 3,0x1B, 0x04, 0x1B, // 88
Pokitto 0:e8b8f36b4505 119 3,0x03, 0x1C, 0x03, // 89
Pokitto 0:e8b8f36b4505 120 3,0x19, 0x15, 0x13, // 90
Pokitto 0:e8b8f36b4505 121 3,0x00, 0x1F, 0x11, // 91
Pokitto 0:e8b8f36b4505 122 3,0x03, 0x04, 0x18, // 92
Pokitto 0:e8b8f36b4505 123 3,0x11, 0x1F, 0x00, // 93
Pokitto 0:e8b8f36b4505 124 3,0x02, 0x01, 0x02, // 94
Pokitto 0:e8b8f36b4505 125 3,0x20, 0x20, 0x20, // 95
Pokitto 0:e8b8f36b4505 126 3,0x00, 0x01, 0x02, // 96
Pokitto 0:e8b8f36b4505 127 3,0x0C, 0x12, 0x1E, // 97
Pokitto 0:e8b8f36b4505 128 3,0x1F, 0x12, 0x0C, // 98
Pokitto 0:e8b8f36b4505 129 3,0x0C, 0x12, 0x12, // 99
Pokitto 0:e8b8f36b4505 130 3,0x0C, 0x12, 0x1F, // 100
Pokitto 0:e8b8f36b4505 131 3,0x0C, 0x1A, 0x14, // 101
Pokitto 0:e8b8f36b4505 132 3,0x04, 0x1E, 0x05, // 102
Pokitto 0:e8b8f36b4505 133 3,0x24, 0x2A, 0x1E, // 103
Pokitto 0:e8b8f36b4505 134 3,0x1F, 0x02, 0x1C, // 104
Pokitto 0:e8b8f36b4505 135 3,0x14, 0x1D, 0x10, // 105
Pokitto 0:e8b8f36b4505 136 3,0x20, 0x20, 0x1D, // 106
Pokitto 0:e8b8f36b4505 137 3,0x1F, 0x08, 0x14, // 107
Pokitto 0:e8b8f36b4505 138 3,0x11, 0x1F, 0x10, // 108
Pokitto 0:e8b8f36b4505 139 3,0x1E, 0x04, 0x1E, // 109
Pokitto 0:e8b8f36b4505 140 3,0x1E, 0x02, 0x1C, // 110
Pokitto 0:e8b8f36b4505 141 3,0x0C, 0x12, 0x0C, // 111
Pokitto 0:e8b8f36b4505 142 3,0x3E, 0x0A, 0x04, // 112
Pokitto 0:e8b8f36b4505 143 3,0x0C, 0x12, 0x3E, // 113
Pokitto 0:e8b8f36b4505 144 3,0x1E, 0x04, 0x02, // 114
Pokitto 0:e8b8f36b4505 145 3,0x14, 0x16, 0x0A, // 115
Pokitto 0:e8b8f36b4505 146 3,0x02, 0x0F, 0x12, // 116
Pokitto 0:e8b8f36b4505 147 3,0x0E, 0x10, 0x1E, // 117
Pokitto 0:e8b8f36b4505 148 3,0x0E, 0x10, 0x0E, // 118
Pokitto 0:e8b8f36b4505 149 3,0x1E, 0x08, 0x1E, // 119
Pokitto 0:e8b8f36b4505 150 3,0x12, 0x0C, 0x12, // 120
Pokitto 0:e8b8f36b4505 151 3,0x26, 0x28, 0x1E, // 121
Pokitto 0:e8b8f36b4505 152 3,0x32, 0x2A, 0x26, // 122
Pokitto 0:e8b8f36b4505 153 3,0x04, 0x1E, 0x21, // 123
Pokitto 0:e8b8f36b4505 154 3,0x00, 0x1F, 0x00, // 124
Pokitto 0:e8b8f36b4505 155 3,0x21, 0x1E, 0x04, // 125
Pokitto 0:e8b8f36b4505 156 3,0x01, 0x02, 0x01, // 126
Pokitto 0:e8b8f36b4505 157 3,0x3F, 0x21, 0x3F // 127
Pokitto 0:e8b8f36b4505 158 };
Pokitto 0:e8b8f36b4505 159
Pokitto 0:e8b8f36b4505 160 #endif
Pokitto 0:e8b8f36b4505 161