PokittoLib with changes to lcd refresh etc.
Fork of Pokitto by
This is a fork by user @Spinal, and is used in Pokittris for testing. Do not import this to your own program.
Diff: POKITTO_CORE/FONTS/mini4x6.cpp
- Revision:
- 0:e8b8f36b4505
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/POKITTO_CORE/FONTS/mini4x6.cpp Mon Sep 18 11:47:51 2017 +0000 @@ -0,0 +1,79 @@ + +//WARNING: This Font Require X-GLCD Lib. +// You can not use it with MikroE GLCD Lib. + +//Font Generated by MikroElektronika GLCD Font Creator 1.2.0.0 +//MikroElektronika 2011 +//http://www.mikroe.com + +//GLCD FontName : mini4x6 +//GLCD FontSize : 4 x 6 +#include "PokittoFonts.h" + +const unsigned char fontMini[] = { + 4,6,32,1, // width, height, character to start from, only caps ? + 0x03, 0x00, 0x00, 0x00, 0x00, // Code for char + 0x01, 0x17, 0x00, 0x00, 0x00, // Code for char ! + 0x03, 0x03, 0x00, 0x03, 0x00, // Code for char " + 0x04, 0x14, 0x0E, 0x1C, 0x0A, // Code for char # + 0x03, 0x14, 0x1E, 0x0A, 0x00, // Code for char $ + 0x04, 0x12, 0x08, 0x04, 0x12, // Code for char % + 0x04, 0x0C, 0x16, 0x0E, 0x14, // Code for char & + 0x01, 0x03, 0x00, 0x00, 0x00, // Code for char ' + 0x02, 0x0C, 0x12, 0x00, 0x00, // Code for char ( + 0x02, 0x12, 0x0C, 0x00, 0x00, // Code for char ) + 0x03, 0x0A, 0x04, 0x0A, 0x00, // Code for char * + 0x03, 0x08, 0x1C, 0x08, 0x00, // Code for char + + 0x01, 0x30, 0x00, 0x00, 0x00, // Code for char , + 0x03, 0x08, 0x08, 0x08, 0x00, // Code for char - + 0x01, 0x10, 0x00, 0x00, 0x00, // Code for char . + 0x03, 0x10, 0x0C, 0x02, 0x00, // Code for char / + 0x03, 0x0C, 0x12, 0x0C, 0x00, // Code for char 0 + 0x02, 0x04, 0x1E, 0x00, 0x00, // Code for char 1 + 0x03, 0x1A, 0x16, 0x14, 0x00, // Code for char 2 + 0x03, 0x12, 0x16, 0x1E, 0x00, // Code for char 3 + 0x03, 0x0E, 0x08, 0x1E, 0x00, // Code for char 4 + 0x03, 0x16, 0x16, 0x0A, 0x00, // Code for char 5 + 0x03, 0x0C, 0x1A, 0x08, 0x00, // Code for char 6 + 0x03, 0x12, 0x0A, 0x06, 0x00, // Code for char 7 + 0x03, 0x0A, 0x16, 0x0A, 0x00, // Code for char 8 + 0x03, 0x16, 0x16, 0x0E, 0x00, // Code for char 9 + 0x01, 0x12, 0x00, 0x00, 0x00, // Code for char : + 0x01, 0x34, 0x00, 0x00, 0x00, // Code for char ; + 0x02, 0x08, 0x14, 0x00, 0x00, // Code for char < + 0x02, 0x0A, 0x0A, 0x00, 0x00, // Code for char = + 0x03, 0x00, 0x0A, 0x04, 0x00, // Code for char > + 0x03, 0x02, 0x19, 0x06, 0x00, // Code for char ? + 0x04, 0x0C, 0x12, 0x16, 0x16, // Code for char @ + 0x03, 0x1E, 0x0A, 0x1C, 0x00, // Code for char A + 0x03, 0x1E, 0x14, 0x18, 0x00, // Code for char B + 0x03, 0x0C, 0x12, 0x12, 0x00, // Code for char C + 0x03, 0x1E, 0x12, 0x0C, 0x00, // Code for char D + 0x03, 0x1E, 0x16, 0x12, 0x00, // Code for char E + 0x03, 0x1E, 0x0A, 0x02, 0x00, // Code for char F + 0x03, 0x0C, 0x12, 0x1A, 0x00, // Code for char G + 0x03, 0x1E, 0x04, 0x18, 0x00, // Code for char H + 0x01, 0x1E, 0x00, 0x00, 0x00, // Code for char I + 0x02, 0x12, 0x0E, 0x00, 0x00, // Code for char J + 0x03, 0x1E, 0x04, 0x1A, 0x00, // Code for char K + 0x02, 0x1E, 0x10, 0x00, 0x00, // Code for char L + 0x03, 0x1E, 0x04, 0x1E, 0x00, // Code for char M + 0x03, 0x1E, 0x02, 0x1C, 0x00, // Code for char N + 0x03, 0x1C, 0x12, 0x0E, 0x00, // Code for char O + 0x03, 0x1E, 0x0A, 0x06, 0x00, // Code for char P + 0x03, 0x0C, 0x0A, 0x1E, 0x00, // Code for char Q + 0x03, 0x1E, 0x0A, 0x14, 0x00, // Code for char R + 0x03, 0x14, 0x16, 0x0A, 0x00, // Code for char S + 0x03, 0x02, 0x1E, 0x02, 0x00, // Code for char T + 0x03, 0x1E, 0x10, 0x1E, 0x00, // Code for char U + 0x03, 0x0E, 0x18, 0x0E, 0x00, // Code for char V + 0x03, 0x1E, 0x08, 0x1E, 0x00, // Code for char W + 0x03, 0x1A, 0x04, 0x1A, 0x00, // Code for char X + 0x03, 0x06, 0x18, 0x06, 0x00, // Code for char Y + 0x03, 0x1A, 0x16, 0x12, 0x00, // Code for char Z + 0x02, 0x1E, 0x12, 0x00, 0x00, // Code for char [ + 0x03, 0x02, 0x0C, 0x10, 0x00, // Code for char BackSlash + 0x02, 0x12, 0x1E, 0x00, 0x00 // Code for char ] + }; + +