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
- Import this library to online compiler (see button "import" on the right hand side
- DO NOT import mbed-src anymore, a better version is now included inside PokittoLib
- Change My_settings.h according to your project
- Start coding!
POKITTO_CORE/FONTS/donut7x10.cpp@0:e8b8f36b4505, 2017-09-18 (annotated)
- Committer:
- Pokitto
- Date:
- Mon Sep 18 11:47:51 2017 +0000
- Revision:
- 0:e8b8f36b4505
Initial;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 0:e8b8f36b4505 | 1 | |
Pokitto | 0:e8b8f36b4505 | 2 | //WARNING: This Font Require X-GLCD Lib. |
Pokitto | 0:e8b8f36b4505 | 3 | // You can not use it with MikroE GLCD Lib. |
Pokitto | 0:e8b8f36b4505 | 4 | |
Pokitto | 0:e8b8f36b4505 | 5 | //Font Generated by MikroElektronika GLCD Font Creator 1.2.0.0 |
Pokitto | 0:e8b8f36b4505 | 6 | //MikroElektronika 2011 |
Pokitto | 0:e8b8f36b4505 | 7 | //http://www.mikroe.com |
Pokitto | 0:e8b8f36b4505 | 8 | |
Pokitto | 0:e8b8f36b4505 | 9 | //GLCD FontName : Donut7x10 |
Pokitto | 0:e8b8f36b4505 | 10 | //GLCD FontSize : 7 x 10 |
Pokitto | 0:e8b8f36b4505 | 11 | #include "PokittoFonts.h" |
Pokitto | 0:e8b8f36b4505 | 12 | |
Pokitto | 0:e8b8f36b4505 | 13 | const unsigned char fontDonut[] = { |
Pokitto | 0:e8b8f36b4505 | 14 | 7,11,32,1, //width,height,start,only caps |
Pokitto | 0:e8b8f36b4505 | 15 | 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char |
Pokitto | 0:e8b8f36b4505 | 16 | 0x04, 0xFF, 0x03, 0xC1, 0x02, 0xC1, 0x02, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char ! |
Pokitto | 0:e8b8f36b4505 | 17 | 0x06, 0x0F, 0x00, 0x09, 0x00, 0x07, 0x00, 0x0F, 0x00, 0x09, 0x00, 0x07, 0x00, 0x00, 0x00, // Code for char " |
Pokitto | 0:e8b8f36b4505 | 18 | 0x07, 0xFE, 0x01, 0x33, 0x03, 0x01, 0x02, 0x33, 0x03, 0x01, 0x02, 0x33, 0x03, 0xFE, 0x01, // Code for char # |
Pokitto | 0:e8b8f36b4505 | 19 | 0x07, 0xFC, 0x01, 0x66, 0x03, 0x4B, 0x03, 0x01, 0x02, 0x4B, 0x03, 0x9B, 0x01, 0xFE, 0x00, // Code for char $ |
Pokitto | 0:e8b8f36b4505 | 20 | 0x07, 0xFE, 0x01, 0x32, 0x01, 0x12, 0x03, 0xDE, 0x03, 0x46, 0x02, 0x64, 0x02, 0xFC, 0x03, // Code for char % |
Pokitto | 0:e8b8f36b4505 | 21 | 0x07, 0xFE, 0x01, 0x13, 0x03, 0xC9, 0x02, 0x89, 0x02, 0x23, 0x03, 0xDE, 0x02, 0xFC, 0x03, // Code for char & |
Pokitto | 0:e8b8f36b4505 | 22 | 0x03, 0x0F, 0x00, 0x09, 0x00, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char ' |
Pokitto | 0:e8b8f36b4505 | 23 | 0x05, 0xFE, 0x01, 0x03, 0x03, 0x01, 0x02, 0xFD, 0x02, 0x87, 0x03, 0x00, 0x00, 0x00, 0x00, // Code for char ( |
Pokitto | 0:e8b8f36b4505 | 24 | 0x05, 0x87, 0x03, 0xFD, 0x02, 0x01, 0x02, 0x03, 0x03, 0xFE, 0x01, 0x00, 0x00, 0x00, 0x00, // Code for char ) |
Pokitto | 0:e8b8f36b4505 | 25 | 0x06, 0x36, 0x00, 0x49, 0x00, 0x63, 0x00, 0x63, 0x00, 0x49, 0x00, 0x36, 0x00, 0x00, 0x00, // Code for char * |
Pokitto | 0:e8b8f36b4505 | 26 | 0x07, 0x78, 0x00, 0x48, 0x00, 0xCE, 0x01, 0x02, 0x01, 0xCE, 0x01, 0x48, 0x00, 0x78, 0x00, // Code for char + |
Pokitto | 0:e8b8f36b4505 | 27 | 0x03, 0xC0, 0x03, 0x40, 0x02, 0xC0, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char , |
Pokitto | 0:e8b8f36b4505 | 28 | 0x06, 0x70, 0x00, 0x50, 0x00, 0x50, 0x00, 0x50, 0x00, 0x50, 0x00, 0x70, 0x00, 0x00, 0x00, // Code for char - |
Pokitto | 0:e8b8f36b4505 | 29 | 0x03, 0x80, 0x03, 0x80, 0x02, 0x80, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char . |
Pokitto | 0:e8b8f36b4505 | 30 | 0x07, 0xC0, 0x03, 0x60, 0x02, 0x1C, 0x03, 0xC7, 0x01, 0x71, 0x00, 0x1D, 0x00, 0x07, 0x00, // Code for char / |
Pokitto | 0:e8b8f36b4505 | 31 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x79, 0x02, 0x79, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 0 |
Pokitto | 0:e8b8f36b4505 | 32 | 0x05, 0x0F, 0x00, 0xF9, 0x03, 0x01, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, // Code for char 1 |
Pokitto | 0:e8b8f36b4505 | 33 | 0x06, 0xFF, 0x03, 0x09, 0x02, 0x49, 0x02, 0x49, 0x02, 0x41, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 2 |
Pokitto | 0:e8b8f36b4505 | 34 | 0x06, 0xFF, 0x03, 0x49, 0x02, 0x49, 0x02, 0x49, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 3 |
Pokitto | 0:e8b8f36b4505 | 35 | 0x06, 0x7F, 0x00, 0x41, 0x00, 0x4F, 0x00, 0xCF, 0x03, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 4 |
Pokitto | 0:e8b8f36b4505 | 36 | 0x06, 0xFF, 0x03, 0x41, 0x02, 0x49, 0x02, 0x49, 0x02, 0x09, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 5 |
Pokitto | 0:e8b8f36b4505 | 37 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x49, 0x02, 0x49, 0x02, 0x09, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 6 |
Pokitto | 0:e8b8f36b4505 | 38 | 0x06, 0x0F, 0x00, 0x09, 0x00, 0x09, 0x00, 0xF9, 0x03, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 7 |
Pokitto | 0:e8b8f36b4505 | 39 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x49, 0x02, 0x49, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 8 |
Pokitto | 0:e8b8f36b4505 | 40 | 0x06, 0xFF, 0x03, 0x41, 0x02, 0x49, 0x02, 0x49, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char 9 |
Pokitto | 0:e8b8f36b4505 | 41 | 0x03, 0x9C, 0x03, 0x94, 0x02, 0x9C, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char : |
Pokitto | 0:e8b8f36b4505 | 42 | 0x04, 0x80, 0x03, 0xDC, 0x02, 0x54, 0x03, 0xDC, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char ; |
Pokitto | 0:e8b8f36b4505 | 43 | 0x06, 0xF0, 0x00, 0x98, 0x01, 0x0C, 0x03, 0x64, 0x02, 0xF4, 0x02, 0x9C, 0x03, 0x00, 0x00, // Code for char < |
Pokitto | 0:e8b8f36b4505 | 44 | 0x06, 0xDC, 0x01, 0x54, 0x01, 0x54, 0x01, 0x54, 0x01, 0x54, 0x01, 0xDC, 0x01, 0x00, 0x00, // Code for char = |
Pokitto | 0:e8b8f36b4505 | 45 | 0x06, 0x9C, 0x03, 0xF4, 0x02, 0x64, 0x02, 0x0C, 0x03, 0x98, 0x01, 0xF0, 0x00, 0x00, 0x00, // Code for char > |
Pokitto | 0:e8b8f36b4505 | 46 | 0x06, 0x1E, 0x00, 0xF3, 0x03, 0x99, 0x02, 0x99, 0x02, 0xC3, 0x03, 0x7E, 0x00, 0x00, 0x00, // Code for char ? |
Pokitto | 0:e8b8f36b4505 | 47 | 0x07, 0xFE, 0x01, 0x03, 0x03, 0x71, 0x02, 0x49, 0x02, 0x49, 0x02, 0x23, 0x03, 0xFE, 0x01, // Code for char @ |
Pokitto | 0:e8b8f36b4505 | 48 | 0x06, 0xFE, 0x03, 0x03, 0x02, 0xB1, 0x03, 0xB1, 0x03, 0x03, 0x02, 0xFE, 0x03, 0x00, 0x00, // Code for char A |
Pokitto | 0:e8b8f36b4505 | 49 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x4D, 0x02, 0x4D, 0x02, 0x13, 0x03, 0xFE, 0x01, 0x00, 0x00, // Code for char B |
Pokitto | 0:e8b8f36b4505 | 50 | 0x06, 0xFE, 0x01, 0x03, 0x03, 0x71, 0x02, 0x51, 0x02, 0x51, 0x02, 0xDF, 0x03, 0x00, 0x00, // Code for char C |
Pokitto | 0:e8b8f36b4505 | 51 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x71, 0x02, 0x71, 0x02, 0x03, 0x03, 0xFE, 0x01, 0x00, 0x00, // Code for char D |
Pokitto | 0:e8b8f36b4505 | 52 | 0x06, 0xFE, 0x03, 0x03, 0x02, 0x49, 0x02, 0x49, 0x02, 0x49, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char E |
Pokitto | 0:e8b8f36b4505 | 53 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0xC9, 0x03, 0x49, 0x00, 0x49, 0x00, 0x7F, 0x00, 0x00, 0x00, // Code for char F |
Pokitto | 0:e8b8f36b4505 | 54 | 0x06, 0xFE, 0x01, 0x03, 0x03, 0x71, 0x02, 0x79, 0x02, 0x09, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char G |
Pokitto | 0:e8b8f36b4505 | 55 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0xCF, 0x03, 0xCF, 0x03, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char H |
Pokitto | 0:e8b8f36b4505 | 56 | 0x05, 0xFF, 0x03, 0x79, 0x02, 0x01, 0x02, 0x79, 0x02, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, // Code for char I |
Pokitto | 0:e8b8f36b4505 | 57 | 0x06, 0xF0, 0x01, 0x1F, 0x03, 0x79, 0x02, 0x79, 0x02, 0x01, 0x03, 0xFF, 0x01, 0x00, 0x00, // Code for char J |
Pokitto | 0:e8b8f36b4505 | 58 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x8F, 0x03, 0xA7, 0x03, 0x21, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char K |
Pokitto | 0:e8b8f36b4505 | 59 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x7F, 0x02, 0x40, 0x02, 0x40, 0x02, 0xC0, 0x03, 0x00, 0x00, // Code for char L |
Pokitto | 0:e8b8f36b4505 | 60 | 0x07, 0xFF, 0x03, 0x01, 0x02, 0xF1, 0x03, 0x02, 0x02, 0xF1, 0x03, 0x01, 0x02, 0xFF, 0x03, // Code for char M |
Pokitto | 0:e8b8f36b4505 | 61 | 0x07, 0xFF, 0x03, 0x01, 0x02, 0xE3, 0x03, 0xC4, 0x00, 0x8F, 0x03, 0x01, 0x02, 0xFF, 0x03, // Code for char N |
Pokitto | 0:e8b8f36b4505 | 62 | 0x06, 0xFE, 0x01, 0x03, 0x03, 0xF1, 0x02, 0xF1, 0x02, 0x03, 0x03, 0xFE, 0x01, 0x00, 0x00, // Code for char O |
Pokitto | 0:e8b8f36b4505 | 63 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x91, 0x03, 0x91, 0x00, 0xC3, 0x00, 0x7E, 0x00, 0x00, 0x00, // Code for char P |
Pokitto | 0:e8b8f36b4505 | 64 | 0x06, 0xFE, 0x00, 0x83, 0x00, 0xB1, 0x01, 0x71, 0x03, 0x03, 0x02, 0xFE, 0x03, 0x00, 0x00, // Code for char Q |
Pokitto | 0:e8b8f36b4505 | 65 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0xB9, 0x03, 0x81, 0x03, 0x23, 0x02, 0xFE, 0x03, 0x00, 0x00, // Code for char R |
Pokitto | 0:e8b8f36b4505 | 66 | 0x06, 0xFE, 0x01, 0x23, 0x03, 0x69, 0x02, 0x69, 0x02, 0x0B, 0x03, 0xFE, 0x01, 0x00, 0x00, // Code for char S |
Pokitto | 0:e8b8f36b4505 | 67 | 0x07, 0x3F, 0x00, 0x31, 0x00, 0xF1, 0x03, 0x01, 0x02, 0xF1, 0x03, 0x31, 0x00, 0x3F, 0x00, // Code for char T |
Pokitto | 0:e8b8f36b4505 | 68 | 0x06, 0xFF, 0x03, 0x01, 0x02, 0x7F, 0x02, 0x7F, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char U |
Pokitto | 0:e8b8f36b4505 | 69 | 0x06, 0xFF, 0x00, 0x81, 0x03, 0x1F, 0x02, 0x1F, 0x02, 0x81, 0x03, 0xFF, 0x00, 0x00, 0x00, // Code for char V |
Pokitto | 0:e8b8f36b4505 | 70 | 0x07, 0xFF, 0x03, 0x01, 0x02, 0x7F, 0x02, 0x01, 0x01, 0x7F, 0x02, 0x01, 0x02, 0xFF, 0x03, // Code for char W |
Pokitto | 0:e8b8f36b4505 | 71 | 0x06, 0xFF, 0x03, 0x31, 0x02, 0xCF, 0x03, 0xCF, 0x03, 0x31, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char X |
Pokitto | 0:e8b8f36b4505 | 72 | 0x06, 0x3F, 0x00, 0xE1, 0x03, 0x0F, 0x02, 0x0F, 0x02, 0xE1, 0x03, 0x3F, 0x00, 0x00, 0x00, // Code for char Y |
Pokitto | 0:e8b8f36b4505 | 73 | 0x06, 0xFF, 0x03, 0x19, 0x02, 0x59, 0x02, 0x69, 0x02, 0x61, 0x02, 0xFF, 0x03, 0x00, 0x00, // Code for char Z |
Pokitto | 0:e8b8f36b4505 | 74 | 0x04, 0xFF, 0x03, 0x01, 0x02, 0x79, 0x02, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char [ |
Pokitto | 0:e8b8f36b4505 | 75 | 0x07, 0x07, 0x00, 0x1D, 0x00, 0x71, 0x00, 0xC7, 0x01, 0x1C, 0x03, 0x60, 0x02, 0xC0, 0x03, // Code for char BackSlash |
Pokitto | 0:e8b8f36b4505 | 76 | 0x04, 0xFF, 0x03, 0x79, 0x02, 0x01, 0x02, 0xFF, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // Code for char ] |
Pokitto | 0:e8b8f36b4505 | 77 | }; |
Pokitto | 0:e8b8f36b4505 | 78 | |
Pokitto | 0:e8b8f36b4505 | 79 |