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/fontC64UIGfx.cpp

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

File content as of revision 71:531419862202:


// This font contains a special UI graphics in lower case letters. It is meant to be used with Pokitto UI Widgets.

//WARNING: This Font is usable only with MikroE GLCD Lib.
//         X-GLCD Lib does not handle this font.

//Font Generated by MikroElektronika GLCD Font Creator 1.2.0.0
//MikroeElektronika 2011
//http://www.mikroe.com

//GLCD FontName : C64Font8x8
//GLCD FontSize : 8 x 8
#include "PokittoFonts.h"

const unsigned char fntC64UIGfx[] = {
    8,8,32,0, //width, height, start char, boolean truncated to only caps
    0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char
    0x08, 0x00, 0x00, 0x00, 0x4F, 0x4F, 0x00, 0x00, 0x00, // Code for char !
    0x08, 0x00, 0x03, 0x03, 0x00, 0x00, 0x03, 0x03, 0x00, // Code for char "
    0x08, 0x14, 0x7F, 0x7F, 0x14, 0x14, 0x7F, 0x7F, 0x14, // Code for char #
    0x08, 0x00, 0x24, 0x2E, 0x6B, 0x6B, 0x3A, 0x12, 0x00, // Code for char $
    0x08, 0x00, 0x63, 0x33, 0x18, 0x0C, 0x66, 0x63, 0x00, // Code for char %
    0x08, 0x00, 0x32, 0x7F, 0x4D, 0x4D, 0x77, 0x72, 0x50, // Code for char &
    0x08, 0x00, 0x00, 0x00, 0x04, 0x06, 0x03, 0x01, 0x00, // Code for char '
    0x08, 0x00, 0x00, 0x1C, 0x3E, 0x63, 0x41, 0x00, 0x00, // Code for char (
    0x08, 0x00, 0x00, 0x41, 0x63, 0x3E, 0x1C, 0x00, 0x00, // Code for char )
    0x08, 0x08, 0x2A, 0x3E, 0x1C, 0x1C, 0x3E, 0x2A, 0x08, // Code for char *
    0x08, 0x00, 0x08, 0x08, 0x3E, 0x3E, 0x08, 0x08, 0x00, // Code for char +
    0x08, 0x00, 0x00, 0x80, 0xE0, 0x60, 0x00, 0x00, 0x00, // Code for char ,
    0x08, 0x00, 0x08, 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, // Code for char -
    0x08, 0x00, 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, 0x00, // Code for char .
    0x08, 0x00, 0x40, 0x60, 0x30, 0x18, 0x0C, 0x06, 0x02, // Code for char /
    0x08, 0x00, 0x3E, 0x7F, 0x49, 0x45, 0x7F, 0x3E, 0x00, // Code for char 0
    0x08, 0x00, 0x40, 0x44, 0x7F, 0x7F, 0x40, 0x40, 0x00, // Code for char 1
    0x08, 0x00, 0x62, 0x73, 0x51, 0x49, 0x4F, 0x46, 0x00, // Code for char 2
    0x08, 0x00, 0x22, 0x63, 0x49, 0x49, 0x7F, 0x36, 0x00, // Code for char 3
    0x08, 0x00, 0x00, 0x18, 0x14, 0x16, 0x7F, 0x7F, 0x10, // Code for char 4
    0x08, 0x00, 0x27, 0x67, 0x45, 0x45, 0x7D, 0x39, 0x00, // Code for char 5
    0x08, 0x00, 0x3E, 0x7F, 0x49, 0x49, 0x7B, 0x32, 0x00, // Code for char 6
    0x08, 0x00, 0x03, 0x03, 0x79, 0x7D, 0x07, 0x03, 0x00, // Code for char 7
    0x08, 0x00, 0x36, 0x7F, 0x49, 0x49, 0x7F, 0x36, 0x00, // Code for char 8
    0x08, 0x00, 0x26, 0x6F, 0x49, 0x49, 0x7F, 0x3E, 0x00, // Code for char 9
    0x08, 0x00, 0x00, 0x00, 0x24, 0x24, 0x00, 0x00, 0x00, // Code for char :
    0x08, 0x00, 0x00, 0x80, 0xE4, 0x64, 0x00, 0x00, 0x00, // Code for char ;
    0x08, 0x00, 0x08, 0x1C, 0x36, 0x63, 0x41, 0x41, 0x00, // Code for char <
    0x08, 0x00, 0x14, 0x14, 0x14, 0x14, 0x14, 0x14, 0x00, // Code for char =
    0x08, 0x00, 0x41, 0x41, 0x63, 0x36, 0x1C, 0x08, 0x00, // Code for char >
    0x08, 0x00, 0x02, 0x03, 0x51, 0x59, 0x0F, 0x06, 0x00, // Code for char ?
    0x08, 0x00, 0x3E, 0x7F, 0x41, 0x4D, 0x6F, 0x2E, 0x00, // Code for char @
    0x08, 0x00, 0x7C, 0x7E, 0x0B, 0x0B, 0x7E, 0x7C, 0x00, // Code for char A
    0x08, 0x00, 0x7F, 0x7F, 0x49, 0x49, 0x7F, 0x36, 0x00, // Code for char B
    0x08, 0x00, 0x3E, 0x7F, 0x41, 0x41, 0x63, 0x22, 0x00, // Code for char C
    0x08, 0x00, 0x7F, 0x7F, 0x41, 0x63, 0x3E, 0x1C, 0x00, // Code for char D
    0x08, 0x00, 0x7F, 0x7F, 0x49, 0x49, 0x41, 0x41, 0x00, // Code for char E
    0x08, 0x00, 0x7F, 0x7F, 0x09, 0x09, 0x01, 0x01, 0x00, // Code for char F
    0x08, 0x00, 0x3E, 0x7F, 0x41, 0x49, 0x7B, 0x3A, 0x00, // Code for char G
    0x08, 0x00, 0x7F, 0x7F, 0x08, 0x08, 0x7F, 0x7F, 0x00, // Code for char H
    0x08, 0x00, 0x00, 0x41, 0x7F, 0x7F, 0x41, 0x00, 0x00, // Code for char I
    0x08, 0x00, 0x20, 0x61, 0x41, 0x7F, 0x3F, 0x01, 0x00, // Code for char J
    0x08, 0x00, 0x7F, 0x7F, 0x1C, 0x36, 0x63, 0x41, 0x00, // Code for char K
    0x08, 0x00, 0x7F, 0x7F, 0x40, 0x40, 0x40, 0x40, 0x00, // Code for char L
    0x08, 0x00, 0x7F, 0x7F, 0x06, 0x0C, 0x06, 0x7F, 0x7F, // Code for char M
    0x08, 0x00, 0x7F, 0x7F, 0x0E, 0x1C, 0x7F, 0x7F, 0x00, // Code for char N
    0x08, 0x00, 0x3E, 0x7F, 0x41, 0x41, 0x7F, 0x3E, 0x00, // Code for char O
    0x08, 0x00, 0x7F, 0x7F, 0x09, 0x09, 0x0F, 0x06, 0x00, // Code for char P
    0x08, 0x00, 0x1E, 0x3F, 0x21, 0x61, 0x7F, 0x5E, 0x00, // Code for char Q
    0x08, 0x00, 0x7F, 0x7F, 0x19, 0x39, 0x6F, 0x46, 0x00, // Code for char R
    0x08, 0x00, 0x26, 0x6F, 0x49, 0x49, 0x7B, 0x32, 0x00, // Code for char S
    0x08, 0x00, 0x01, 0x01, 0x7F, 0x7F, 0x01, 0x01, 0x00, // Code for char T
    0x08, 0x00, 0x3F, 0x7F, 0x40, 0x40, 0x7F, 0x3F, 0x00, // Code for char U
    0x08, 0x00, 0x1F, 0x3F, 0x60, 0x60, 0x3F, 0x1F, 0x00, // Code for char V
    0x08, 0x00, 0x7F, 0x7F, 0x30, 0x18, 0x30, 0x7F, 0x7F, // Code for char W
    0x08, 0x00, 0x63, 0x77, 0x1C, 0x1C, 0x77, 0x63, 0x00, // Code for char X
    0x08, 0x00, 0x07, 0x0F, 0x78, 0x78, 0x0F, 0x07, 0x00, // Code for char Y
    0x08, 0x00, 0x61, 0x71, 0x59, 0x4D, 0x47, 0x43, 0x00, // Code for char Z
    0x08, 0x00, 0x00, 0x7F, 0x7F, 0x41, 0x41, 0x00, 0x00, // Code for char [
    0x08, 0x02, 0x06, 0x0C, 0x18, 0x30, 0x60, 0x40, 0x00, // Code for char BackSlash
    0x08, 0x00, 0x00, 0x41, 0x41, 0x7F, 0x7F, 0x00, 0x00, // Code for char ]
    0x08, 0x00, 0x08, 0x0C, 0xFE, 0xFE, 0x0C, 0x08, 0x00, // Code for char ^
    0x08, 0x00, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, // Code for char _
    0x08, 0x00, 0x00, 0x00, 0x01, 0x03, 0x06, 0x04, 0x00, // Code for char `
    0x08, 0x00, 0x00, 0x00, 0xE0, 0xF0, 0x38, 0x18, 0x18, // Code for char a, UI graphics
    0x08, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, 0x18, // Code for char b, UI graphics
    0x08, 0x18, 0x18, 0x38, 0xF0, 0xE0, 0x00, 0x00, 0x00, // Code for char c, UI graphics
    0x08, 0x00, 0x00, 0x00, 0x07, 0x0F, 0x1C, 0x18, 0x18, // Code for char d, UI graphics
    0x08, 0x18, 0x18, 0x1C, 0x0F, 0x07, 0x00, 0x00, 0x00, // Code for char e, UI graphics
    0x08, 0x00, 0x00, 0x00, 0xCC, 0xCC, 0x00, 0x00, 0x00, // Code for char f, UI graphics
    0x08, 0x33, 0x99, 0xCC, 0x66, 0x33, 0x99, 0xCC, 0x66, // Code for char g, UI graphics
    0x08, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, // Code for char h, UI graphics
    0x08, 0x00, 0x00, 0x00, 0x00, 0xFE, 0x09, 0x09, 0x07, // Code for char i, Pokitto image.
    0x08, 0xF1, 0xF1, 0xF1, 0xF1, 0x71, 0x71, 0xF1, 0xF1, // Code for char j, Pokitto image.
    0x08, 0xF1, 0xF1, 0x71, 0x71, 0xF1, 0xF1, 0xF1, 0xF1, // Code for char k, Pokitto image.
    0x08, 0x07, 0x09, 0x09, 0xFE, 0x00, 0x00, 0x00, 0x00, // Code for char l, Pokitto image.
    0x08, 0x00, 0x0C, 0x12, 0x12, 0xFF, 0x00, 0x00, 0x00, // Code for char m, Pokitto image.
    0x08, 0xFF, 0xFF, 0xFF, 0xFE, 0xF7, 0xEF, 0xEE, 0xEF, // Code for char n, Pokitto image.
    0x08, 0xEF, 0xEE, 0xEF, 0xF7, 0xFE, 0xFF, 0xFF, 0xFF, // Code for char o, Pokitto image.
    0x08, 0x00, 0x00, 0x00, 0xFF, 0x12, 0x12, 0x0C, 0x00, // Code for char p, Pokitto image.
    0x08, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, // Code for char q, Pokitto image.
    0x08, 0x30, 0x30, 0xFC, 0xFC, 0x30, 0x30, 0x00, 0x00, // Code for char r, Pokitto image.
    0x08, 0x00, 0x00, 0x70, 0x70, 0x70, 0x00, 0x1C, 0x1C, // Code for char s, Pokitto image.
    0x08, 0x1C, 0x00, 0x00, 0xFF, 0x00, 0x00, 0x00, 0x00, // Code for char t, Pokitto image.
    0x08, 0x00, 0x00, 0x00, 0x00, 0x7F, 0x92, 0x92, 0x7C, // Code for char u, Pokitto image.
    0x08, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, 0x12, // Code for char v, Pokitto image.
    0x08, 0x12, 0x12, 0x10, 0x10, 0x10, 0x10, 0x10, 0x10, // Code for char w, Pokitto image.
    0x08, 0x7C, 0x92, 0x92, 0x7F, 0x00, 0x00, 0x00, 0x00, // Code for char x, Pokitto image.
    0x08, 0x00, 0x9C, 0xBC, 0xA0, 0xE0, 0x7C, 0x3C, 0x00,  // Code for char y
    0x08, 0x00, 0x44, 0x64, 0x74, 0x5C, 0x4C, 0x44, 0x00, // Code for char z
    0x08, 0x00, 0x08, 0x7F, 0x77, 0x41, 0x41, 0x00, 0x00, // Code for char {
    0x08, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0x00, 0x00, 0x00, // Code for char |
    0x08, 0x00, 0x00, 0x41, 0x41, 0x77, 0x7F, 0x08, 0x00, // Code for char }
    0x08, 0x00, 0x02, 0x06, 0x04, 0x02, 0x06, 0x04, 0x00, // Code for char ~
    0x08, 0x00, 0x3C, 0x66, 0x66, 0x3C, 0x66, 0x66, 0x3C // Code for char
};