Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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/mini4x6.cpp@71:531419862202, 2019-12-25 (annotated)
- Committer:
- Pokitto
- Date:
- Wed Dec 25 23:59:52 2019 +0000
- Revision:
- 71:531419862202
- Parent:
- 0:e8b8f36b4505
Changed Mode2 C++ refresh code (graphical errors)
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 : mini4x6 | 
| Pokitto | 0:e8b8f36b4505 | 10 | //GLCD FontSize : 4 x 6 | 
| Pokitto | 0:e8b8f36b4505 | 11 | #include "PokittoFonts.h" | 
| Pokitto | 0:e8b8f36b4505 | 12 | |
| Pokitto | 0:e8b8f36b4505 | 13 | const unsigned char fontMini[] = { | 
| Pokitto | 0:e8b8f36b4505 | 14 | 4,6,32,1, // width, height, character to start from, only caps ? | 
| Pokitto | 0:e8b8f36b4505 | 15 | 0x03, 0x00, 0x00, 0x00, 0x00, // Code for char | 
| Pokitto | 0:e8b8f36b4505 | 16 | 0x01, 0x17, 0x00, 0x00, 0x00, // Code for char ! | 
| Pokitto | 0:e8b8f36b4505 | 17 | 0x03, 0x03, 0x00, 0x03, 0x00, // Code for char " | 
| Pokitto | 0:e8b8f36b4505 | 18 | 0x04, 0x14, 0x0E, 0x1C, 0x0A, // Code for char # | 
| Pokitto | 0:e8b8f36b4505 | 19 | 0x03, 0x14, 0x1E, 0x0A, 0x00, // Code for char $ | 
| Pokitto | 0:e8b8f36b4505 | 20 | 0x04, 0x12, 0x08, 0x04, 0x12, // Code for char % | 
| Pokitto | 0:e8b8f36b4505 | 21 | 0x04, 0x0C, 0x16, 0x0E, 0x14, // Code for char & | 
| Pokitto | 0:e8b8f36b4505 | 22 | 0x01, 0x03, 0x00, 0x00, 0x00, // Code for char ' | 
| Pokitto | 0:e8b8f36b4505 | 23 | 0x02, 0x0C, 0x12, 0x00, 0x00, // Code for char ( | 
| Pokitto | 0:e8b8f36b4505 | 24 | 0x02, 0x12, 0x0C, 0x00, 0x00, // Code for char ) | 
| Pokitto | 0:e8b8f36b4505 | 25 | 0x03, 0x0A, 0x04, 0x0A, 0x00, // Code for char * | 
| Pokitto | 0:e8b8f36b4505 | 26 | 0x03, 0x08, 0x1C, 0x08, 0x00, // Code for char + | 
| Pokitto | 0:e8b8f36b4505 | 27 | 0x01, 0x30, 0x00, 0x00, 0x00, // Code for char , | 
| Pokitto | 0:e8b8f36b4505 | 28 | 0x03, 0x08, 0x08, 0x08, 0x00, // Code for char - | 
| Pokitto | 0:e8b8f36b4505 | 29 | 0x01, 0x10, 0x00, 0x00, 0x00, // Code for char . | 
| Pokitto | 0:e8b8f36b4505 | 30 | 0x03, 0x10, 0x0C, 0x02, 0x00, // Code for char / | 
| Pokitto | 0:e8b8f36b4505 | 31 | 0x03, 0x0C, 0x12, 0x0C, 0x00, // Code for char 0 | 
| Pokitto | 0:e8b8f36b4505 | 32 | 0x02, 0x04, 0x1E, 0x00, 0x00, // Code for char 1 | 
| Pokitto | 0:e8b8f36b4505 | 33 | 0x03, 0x1A, 0x16, 0x14, 0x00, // Code for char 2 | 
| Pokitto | 0:e8b8f36b4505 | 34 | 0x03, 0x12, 0x16, 0x1E, 0x00, // Code for char 3 | 
| Pokitto | 0:e8b8f36b4505 | 35 | 0x03, 0x0E, 0x08, 0x1E, 0x00, // Code for char 4 | 
| Pokitto | 0:e8b8f36b4505 | 36 | 0x03, 0x16, 0x16, 0x0A, 0x00, // Code for char 5 | 
| Pokitto | 0:e8b8f36b4505 | 37 | 0x03, 0x0C, 0x1A, 0x08, 0x00, // Code for char 6 | 
| Pokitto | 0:e8b8f36b4505 | 38 | 0x03, 0x12, 0x0A, 0x06, 0x00, // Code for char 7 | 
| Pokitto | 0:e8b8f36b4505 | 39 | 0x03, 0x0A, 0x16, 0x0A, 0x00, // Code for char 8 | 
| Pokitto | 0:e8b8f36b4505 | 40 | 0x03, 0x16, 0x16, 0x0E, 0x00, // Code for char 9 | 
| Pokitto | 0:e8b8f36b4505 | 41 | 0x01, 0x12, 0x00, 0x00, 0x00, // Code for char : | 
| Pokitto | 0:e8b8f36b4505 | 42 | 0x01, 0x34, 0x00, 0x00, 0x00, // Code for char ; | 
| Pokitto | 0:e8b8f36b4505 | 43 | 0x02, 0x08, 0x14, 0x00, 0x00, // Code for char < | 
| Pokitto | 0:e8b8f36b4505 | 44 | 0x02, 0x0A, 0x0A, 0x00, 0x00, // Code for char = | 
| Pokitto | 0:e8b8f36b4505 | 45 | 0x03, 0x00, 0x0A, 0x04, 0x00, // Code for char > | 
| Pokitto | 0:e8b8f36b4505 | 46 | 0x03, 0x02, 0x19, 0x06, 0x00, // Code for char ? | 
| Pokitto | 0:e8b8f36b4505 | 47 | 0x04, 0x0C, 0x12, 0x16, 0x16, // Code for char @ | 
| Pokitto | 0:e8b8f36b4505 | 48 | 0x03, 0x1E, 0x0A, 0x1C, 0x00, // Code for char A | 
| Pokitto | 0:e8b8f36b4505 | 49 | 0x03, 0x1E, 0x14, 0x18, 0x00, // Code for char B | 
| Pokitto | 0:e8b8f36b4505 | 50 | 0x03, 0x0C, 0x12, 0x12, 0x00, // Code for char C | 
| Pokitto | 0:e8b8f36b4505 | 51 | 0x03, 0x1E, 0x12, 0x0C, 0x00, // Code for char D | 
| Pokitto | 0:e8b8f36b4505 | 52 | 0x03, 0x1E, 0x16, 0x12, 0x00, // Code for char E | 
| Pokitto | 0:e8b8f36b4505 | 53 | 0x03, 0x1E, 0x0A, 0x02, 0x00, // Code for char F | 
| Pokitto | 0:e8b8f36b4505 | 54 | 0x03, 0x0C, 0x12, 0x1A, 0x00, // Code for char G | 
| Pokitto | 0:e8b8f36b4505 | 55 | 0x03, 0x1E, 0x04, 0x18, 0x00, // Code for char H | 
| Pokitto | 0:e8b8f36b4505 | 56 | 0x01, 0x1E, 0x00, 0x00, 0x00, // Code for char I | 
| Pokitto | 0:e8b8f36b4505 | 57 | 0x02, 0x12, 0x0E, 0x00, 0x00, // Code for char J | 
| Pokitto | 0:e8b8f36b4505 | 58 | 0x03, 0x1E, 0x04, 0x1A, 0x00, // Code for char K | 
| Pokitto | 0:e8b8f36b4505 | 59 | 0x02, 0x1E, 0x10, 0x00, 0x00, // Code for char L | 
| Pokitto | 0:e8b8f36b4505 | 60 | 0x03, 0x1E, 0x04, 0x1E, 0x00, // Code for char M | 
| Pokitto | 0:e8b8f36b4505 | 61 | 0x03, 0x1E, 0x02, 0x1C, 0x00, // Code for char N | 
| Pokitto | 0:e8b8f36b4505 | 62 | 0x03, 0x1C, 0x12, 0x0E, 0x00, // Code for char O | 
| Pokitto | 0:e8b8f36b4505 | 63 | 0x03, 0x1E, 0x0A, 0x06, 0x00, // Code for char P | 
| Pokitto | 0:e8b8f36b4505 | 64 | 0x03, 0x0C, 0x0A, 0x1E, 0x00, // Code for char Q | 
| Pokitto | 0:e8b8f36b4505 | 65 | 0x03, 0x1E, 0x0A, 0x14, 0x00, // Code for char R | 
| Pokitto | 0:e8b8f36b4505 | 66 | 0x03, 0x14, 0x16, 0x0A, 0x00, // Code for char S | 
| Pokitto | 0:e8b8f36b4505 | 67 | 0x03, 0x02, 0x1E, 0x02, 0x00, // Code for char T | 
| Pokitto | 0:e8b8f36b4505 | 68 | 0x03, 0x1E, 0x10, 0x1E, 0x00, // Code for char U | 
| Pokitto | 0:e8b8f36b4505 | 69 | 0x03, 0x0E, 0x18, 0x0E, 0x00, // Code for char V | 
| Pokitto | 0:e8b8f36b4505 | 70 | 0x03, 0x1E, 0x08, 0x1E, 0x00, // Code for char W | 
| Pokitto | 0:e8b8f36b4505 | 71 | 0x03, 0x1A, 0x04, 0x1A, 0x00, // Code for char X | 
| Pokitto | 0:e8b8f36b4505 | 72 | 0x03, 0x06, 0x18, 0x06, 0x00, // Code for char Y | 
| Pokitto | 0:e8b8f36b4505 | 73 | 0x03, 0x1A, 0x16, 0x12, 0x00, // Code for char Z | 
| Pokitto | 0:e8b8f36b4505 | 74 | 0x02, 0x1E, 0x12, 0x00, 0x00, // Code for char [ | 
| Pokitto | 0:e8b8f36b4505 | 75 | 0x03, 0x02, 0x0C, 0x10, 0x00, // Code for char BackSlash | 
| Pokitto | 0:e8b8f36b4505 | 76 | 0x02, 0x12, 0x1E, 0x00, 0x00 // Code for char ] | 
| Pokitto | 0:e8b8f36b4505 | 77 | }; | 
| Pokitto | 0:e8b8f36b4505 | 78 | |
| Pokitto | 0:e8b8f36b4505 | 79 |