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/TIC806x6.cpp
- Revision:
- 0:e8b8f36b4505
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/POKITTO_CORE/FONTS/TIC806x6.cpp Mon Sep 18 11:47:51 2017 +0000 @@ -0,0 +1,117 @@ + +//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 + + +//RECREATED BY @ROGB_UK +//Original font by nesbox, under a creative commons license +//https://fontstruct.com/fontstructions/show/1334143/tic-computer-6x6-font + + +#include "PokittoFonts.h" + +const unsigned char fontTIC806x6[] = { + 6,6,32,0, + 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char + 0x03, 0x00, 0x00, 0x17, 0x00, 0x00, 0x00, // Code for char ! + 0x04, 0x00, 0x03, 0x00, 0x03, 0x00, 0x00, // Code for char " + 0x05, 0x0A, 0x1F, 0x0A, 0x1F, 0x0A, 0x00, // Code for char # + 0x05, 0x12, 0x15, 0x1F, 0x15, 0x09, 0x00, // Code for char $ + 0x05, 0x11, 0x08, 0x04, 0x02, 0x11, 0x00, // Code for char % + 0x05, 0x0A, 0x15, 0x16, 0x08, 0x14, 0x00, // Code for char & + 0x03, 0x00, 0x02, 0x01, 0x00, 0x00, 0x00, // Code for char ' + 0x04, 0x00, 0x00, 0x0E, 0x11, 0x00, 0x00, // Code for char ( + 0x03, 0x00, 0x11, 0x0E, 0x00, 0x00, 0x00, // Code for char ) + 0x04, 0x00, 0x0A, 0x04, 0x0A, 0x00, 0x00, // Code for char * + 0x04, 0x00, 0x04, 0x0E, 0x04, 0x00, 0x00, // Code for char + + 0x03, 0x00, 0x10, 0x08, 0x00, 0x00, 0x00, // Code for char , + 0x04, 0x00, 0x04, 0x04, 0x04, 0x00, 0x00, // Code for char - + 0x03, 0x00, 0x00, 0x10, 0x00, 0x00, 0x00, // Code for char . + 0x05, 0x10, 0x08, 0x04, 0x02, 0x01, 0x00, // Code for char / + 0x05, 0x0E, 0x19, 0x15, 0x13, 0x0E, 0x00, // Code for char 0 + 0x04, 0x00, 0x12, 0x1F, 0x10, 0x00, 0x00, // Code for char 1 + 0x05, 0x19, 0x15, 0x15, 0x15, 0x12, 0x00, // Code for char 2 + 0x05, 0x09, 0x11, 0x15, 0x15, 0x0B, 0x00, // Code for char 3 + 0x05, 0x08, 0x0C, 0x0A, 0x1F, 0x08, 0x00, // Code for char 4 + 0x05, 0x17, 0x15, 0x15, 0x15, 0x09, 0x00, // Code for char 5 + 0x05, 0x0E, 0x15, 0x15, 0x15, 0x08, 0x00, // Code for char 6 + 0x05, 0x01, 0x11, 0x09, 0x05, 0x03, 0x00, // Code for char 7 + 0x05, 0x0A, 0x15, 0x15, 0x15, 0x0A, 0x00, // Code for char 8 + 0x06, 0x02, 0x15, 0x15, 0x15, 0x15, 0x0E, // Code for char 9 + 0x03, 0x00, 0x00, 0x0A, 0x00, 0x00, 0x00, // Code for char : + 0x03, 0x00, 0x10, 0x0A, 0x00, 0x00, 0x00, // Code for char ; + 0x04, 0x00, 0x04, 0x0A, 0x11, 0x00, 0x00, // Code for char < + 0x05, 0x00, 0x0A, 0x0A, 0x0A, 0x0A, 0x00, // Code for char = + 0x04, 0x00, 0x11, 0x0A, 0x04, 0x00, 0x00, // Code for char > + 0x05, 0x00, 0x01, 0x15, 0x05, 0x02, 0x00, // Code for char ? + 0x05, 0x0E, 0x11, 0x17, 0x15, 0x06, 0x00, // Code for char @ + 0x05, 0x1E, 0x09, 0x09, 0x09, 0x1E, 0x00, // Code for char A + 0x05, 0x1F, 0x15, 0x15, 0x15, 0x0A, 0x00, // Code for char B + 0x05, 0x0E, 0x11, 0x11, 0x11, 0x11, 0x00, // Code for char C + 0x05, 0x1F, 0x11, 0x11, 0x11, 0x0E, 0x00, // Code for char D + 0x05, 0x1F, 0x15, 0x15, 0x15, 0x11, 0x00, // Code for char E + 0x05, 0x1F, 0x05, 0x05, 0x05, 0x01, 0x00, // Code for char F + 0x05, 0x0E, 0x11, 0x11, 0x15, 0x1D, 0x00, // Code for char G + 0x05, 0x1F, 0x04, 0x04, 0x04, 0x1F, 0x00, // Code for char H + 0x05, 0x11, 0x11, 0x1F, 0x11, 0x11, 0x00, // Code for char I + 0x05, 0x11, 0x11, 0x11, 0x11, 0x0F, 0x00, // Code for char J + 0x05, 0x1F, 0x04, 0x04, 0x0A, 0x11, 0x00, // Code for char K + 0x05, 0x1F, 0x10, 0x10, 0x10, 0x10, 0x00, // Code for char L + 0x05, 0x1F, 0x02, 0x04, 0x02, 0x1F, 0x00, // Code for char M + 0x05, 0x1F, 0x02, 0x04, 0x08, 0x1F, 0x00, // Code for char N + 0x05, 0x0E, 0x11, 0x11, 0x11, 0x0E, 0x00, // Code for char O + 0x05, 0x1F, 0x09, 0x09, 0x09, 0x06, 0x00, // Code for char P + 0x05, 0x0E, 0x11, 0x11, 0x19, 0x1E, 0x00, // Code for char Q + 0x05, 0x1F, 0x09, 0x09, 0x09, 0x16, 0x00, // Code for char R + 0x05, 0x12, 0x15, 0x15, 0x15, 0x09, 0x00, // Code for char S + 0x05, 0x01, 0x01, 0x1F, 0x01, 0x01, 0x00, // Code for char T + 0x05, 0x0F, 0x10, 0x10, 0x10, 0x0F, 0x00, // Code for char U + 0x05, 0x07, 0x08, 0x10, 0x08, 0x07, 0x00, // Code for char V + 0x05, 0x0F, 0x10, 0x0C, 0x10, 0x0F, 0x00, // Code for char W + 0x05, 0x11, 0x0A, 0x04, 0x0A, 0x11, 0x00, // Code for char X + 0x05, 0x03, 0x04, 0x18, 0x04, 0x03, 0x00, // Code for char Y + 0x05, 0x11, 0x19, 0x15, 0x13, 0x11, 0x00, // Code for char Z + 0x04, 0x00, 0x00, 0x1F, 0x11, 0x00, 0x00, // Code for char [ + 0x05, 0x01, 0x02, 0x04, 0x08, 0x10, 0x00, // Code for char BackSlash + 0x03, 0x00, 0x11, 0x1F, 0x00, 0x00, 0x00, // Code for char ] + 0x05, 0x04, 0x02, 0x01, 0x02, 0x04, 0x00, // Code for char ^ + 0x05, 0x10, 0x10, 0x10, 0x10, 0x10, 0x00, // Code for char _ + 0x04, 0x00, 0x00, 0x01, 0x02, 0x00, 0x00, // Code for char ` + 0x05, 0x00, 0x0C, 0x12, 0x12, 0x1E, 0x00, // Code for char a + 0x05, 0x00, 0x1F, 0x12, 0x12, 0x0C, 0x00, // Code for char b + 0x05, 0x00, 0x0C, 0x12, 0x12, 0x12, 0x00, // Code for char c + 0x05, 0x00, 0x0C, 0x12, 0x12, 0x1F, 0x00, // Code for char d + 0x05, 0x00, 0x0C, 0x16, 0x16, 0x04, 0x00, // Code for char e + 0x05, 0x00, 0x04, 0x1E, 0x05, 0x05, 0x00, // Code for char f + 0x05, 0x00, 0x04, 0x2A, 0x2A, 0x1C, 0x00, // Code for char g + 0x05, 0x00, 0x1F, 0x02, 0x02, 0x1C, 0x00, // Code for char h + 0x04, 0x00, 0x00, 0x04, 0x1D, 0x00, 0x00, // Code for char i + 0x04, 0x00, 0x00, 0x10, 0x0D, 0x00, 0x00, // Code for char j + 0x05, 0x00, 0x1F, 0x04, 0x04, 0x1A, 0x00, // Code for char k + 0x04, 0x00, 0x00, 0x01, 0x1E, 0x00, 0x00, // Code for char l + 0x05, 0x1E, 0x02, 0x1C, 0x02, 0x1C, 0x00, // Code for char m + 0x05, 0x00, 0x1E, 0x02, 0x02, 0x1C, 0x00, // Code for char n + 0x05, 0x00, 0x0C, 0x12, 0x12, 0x0C, 0x00, // Code for char o + 0x05, 0x00, 0x3E, 0x12, 0x12, 0x0C, 0x00, // Code for char p + 0x05, 0x00, 0x0C, 0x12, 0x12, 0x3E, 0x00, // Code for char q + 0x05, 0x00, 0x1E, 0x02, 0x02, 0x04, 0x00, // Code for char r + 0x05, 0x00, 0x14, 0x16, 0x1A, 0x0A, 0x00, // Code for char s + 0x05, 0x00, 0x02, 0x0F, 0x12, 0x12, 0x00, // Code for char t + 0x05, 0x00, 0x0E, 0x10, 0x10, 0x1E, 0x00, // Code for char u + 0x05, 0x00, 0x0E, 0x10, 0x08, 0x06, 0x00, // Code for char v + 0x05, 0x0E, 0x10, 0x08, 0x10, 0x0E, 0x00, // Code for char w + 0x05, 0x00, 0x12, 0x0C, 0x0C, 0x12, 0x00, // Code for char x + 0x05, 0x00, 0x06, 0x28, 0x28, 0x1E, 0x00, // Code for char y + 0x05, 0x00, 0x12, 0x1A, 0x16, 0x12, 0x00, // Code for char z + 0x04, 0x00, 0x04, 0x1F, 0x11, 0x00, 0x00, // Code for char { + 0x03, 0x00, 0x00, 0x1F, 0x00, 0x00, 0x00, // Code for char | + 0x04, 0x00, 0x11, 0x1F, 0x04, 0x00, 0x00, // Code for char } + 0x05, 0x00, 0x04, 0x02, 0x04, 0x02, 0x00, // Code for char ~ + 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 // Code for char + }; + +