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

Dependents:   YATTT sd_map_test cPong SnowDemo ... more

PokittoLib

Library for programming Pokitto hardware

How to Use

  1. Import this library to online compiler (see button "import" on the right hand side
  2. DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
  3. Change My_settings.h according to your project
  4. Start coding!

POKITTO_CORE/FONTS/font3x3.cpp

Committer:
Pokitto
Date:
2019-12-25
Revision:
71:531419862202
Parent:
0:e8b8f36b4505

File content as of revision 71:531419862202:

/*
 * (C) Copyright 2014 Aurélien Rodot. All rights reserved.
 *
 * This file is part of the Gamebuino Library (http://gamebuino.com)
 *
 * The Gamebuino Library is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>
 */

#ifndef FONT3x3_C
#define FONT3x3_C

#include <stdint.h> //jonne
#include "PokittoFonts.h"

//standard ascii 3x3font
#define PROGMEM
const uint8_t font3x3[] PROGMEM = {
	3,3,0,0,//width and height
    3,0x07, 0x05, 0x07, // 0
    3,0x05, 0x04, 0x05, // 1
    3,0x05, 0x04, 0x05, // 2
    3,0x03, 0x06, 0x03, // 3
    3,0x02, 0x07, 0x02, // 4
    3,0x02, 0x01, 0x02, // 5
    3,0x02, 0x03, 0x02, // 6
    3,0x0E, 0x09, 0x0E, // 7
    3,0x0E, 0x0D, 0x0E, // 8
    3,0x0E, 0x0F, 0x0E, // 9
    3,0x07, 0x05, 0x07, // 10
    3,0x05, 0x03, 0x07, // 11
    3,0x05, 0x0F, 0x05, // 12
    3,0x07, 0x05, 0x07, // 13
    3,0x06, 0x07, 0x01, // 14
    3,0x02, 0x05, 0x02, // 15
    3,0x00, 0x07, 0x02, // 16
    3,0x02, 0x07, 0x00, // 17
    3,0x02, 0x07, 0x02, // 18
    3,0x00, 0x02, 0x07, // 19
    3,0x02, 0x00, 0x07, // 20
    3,0x06, 0x03, 0x06, // 21
    3,0x07, 0x07, 0x02, // 22
    3,0x02, 0x05, 0x05, // 23
    3,0x02, 0x01, 0x02, // 24
    3,0x02, 0x04, 0x02, // 25
    3,0x00, 0x05, 0x02, // 26
    3,0x02, 0x05, 0x00, // 27
    3,0x06, 0x07, 0x05, // 28
    3,0x05, 0x07, 0x05, // 29
    3,0x02, 0x03, 0x02, // 30
    3,0x02, 0x06, 0x02, // 31
    3,0x00, 0x00, 0x00, // 32
    3,0x00, 0x0B, 0x00, // 33
    3,0x03, 0x00, 0x03, // 34
    3,0x07, 0x05, 0x07, // 35
    3,0x04, 0x07, 0x01, // 36
    3,0x05, 0x02, 0x05, // 37
    3,0x07, 0x07, 0x04, // 38
    3,0x00, 0x03, 0x00, // 39
    3,0x00, 0x07, 0x05, // 40
    3,0x05, 0x07, 0x00, // 41
    3,0x05, 0x00, 0x05, // 42
    3,0x02, 0x07, 0x02, // 43
    3,0x00, 0x0C, 0x00, // 44
    3,0x02, 0x02, 0x02, // 45
    3,0x00, 0x04, 0x00, // 46
    3,0x04, 0x02, 0x01, // 47
    3,0x07, 0x05, 0x07, // 48
    3,0x05, 0x07, 0x04, // 49
    3,0x01, 0x07, 0x04, // 50
    3,0x05, 0x07, 0x02, // 51
    3,0x03, 0x02, 0x07, // 52
    3,0x04, 0x07, 0x01, // 53
    3,0x07, 0x06, 0x06, // 54
    3,0x01, 0x01, 0x07, // 55
    3,0x07, 0x07, 0x07, // 56
    3,0x03, 0x03, 0x07, // 57
    3,0x00, 0x05, 0x00, // 58
    3,0x00, 0x0D, 0x00, // 59
    3,0x02, 0x05, 0x00, // 60
    3,0x05, 0x05, 0x05, // 61
    3,0x00, 0x05, 0x02, // 62
    3,0x01, 0x07, 0x03, // 63
    3,0x0F, 0x09, 0x03, // 64
    3,0x06, 0x03, 0x06, // 65
    3,0x07, 0x07, 0x02, // 66
    3,0x02, 0x05, 0x05, // 67
    3,0x07, 0x07, 0x02, // 68
    3,0x07, 0x07, 0x05, // 69
    3,0x07, 0x03, 0x01, // 70
    3,0x07, 0x05, 0x06, // 71
    3,0x07, 0x02, 0x07, // 72
    3,0x05, 0x07, 0x05, // 73
    3,0x04, 0x04, 0x03, // 74
    3,0x07, 0x02, 0x05, // 75
    3,0x07, 0x04, 0x04, // 76
    3,0x07, 0x03, 0x07, // 77
    3,0x07, 0x01, 0x06, // 78
    3,0x07, 0x05, 0x07, // 79
    3,0x07, 0x03, 0x03, // 80
    3,0x07, 0x05, 0x03, // 81
    3,0x07, 0x03, 0x06, // 82
    3,0x04, 0x07, 0x01, // 83
    3,0x01, 0x07, 0x01, // 84
    3,0x07, 0x04, 0x07, // 85
    3,0x03, 0x04, 0x03, // 86
    3,0x07, 0x06, 0x07, // 87
    3,0x05, 0x02, 0x05, // 88
    3,0x01, 0x06, 0x01, // 89
    3,0x01, 0x07, 0x04, // 90
    3,0x00, 0x07, 0x05, // 91
    3,0x01, 0x02, 0x04, // 92
    3,0x05, 0x07, 0x00, // 93
    3,0x02, 0x01, 0x02, // 94
    3,0x08, 0x08, 0x08, // 95
    3,0x00, 0x03, 0x00, // 96
    3,0x06, 0x03, 0x06, // 97
    3,0x07, 0x07, 0x02, // 98
    3,0x02, 0x05, 0x05, // 99
    3,0x07, 0x05, 0x02, // 100
    3,0x07, 0x07, 0x05, // 101
    3,0x07, 0x03, 0x01, // 102
    3,0x07, 0x05, 0x06, // 103
    3,0x07, 0x02, 0x07, // 104
    3,0x05, 0x07, 0x05, // 105
    3,0x04, 0x04, 0x03, // 106
    3,0x07, 0x02, 0x05, // 107
    3,0x07, 0x04, 0x04, // 108
    3,0x07, 0x03, 0x07, // 109
    3,0x07, 0x01, 0x06, // 110
    3,0x07, 0x05, 0x07, // 111
    3,0x07, 0x03, 0x03, // 112
    3,0x07, 0x05, 0x03, // 113
    3,0x07, 0x03, 0x06, // 114
    3,0x04, 0x07, 0x01, // 115
    3,0x01, 0x07, 0x01, // 116
    3,0x07, 0x04, 0x07, // 117
    3,0x03, 0x04, 0x03, // 118
    3,0x07, 0x06, 0x07, // 119
    3,0x05, 0x02, 0x05, // 120
    3,0x01, 0x06, 0x01, // 121
    3,0x01, 0x07, 0x04, // 122
    3,0x02, 0x07, 0x05, // 123
    3,0x00, 0x07, 0x00, // 124
    3,0x05, 0x07, 0x02, // 125
    3,0x06, 0x02, 0x03, // 126
    3,0x07, 0x05, 0x07 // 127
};

#endif