PokittoLib is the library needed for programming the Pokitto DIY game console (www.pokitto.com)

Committer:
spinal
Date:
Sun Nov 18 15:47:54 2018 +0000
Revision:
64:6e6c6c2b664e
Parent:
0:e8b8f36b4505
added fix for directrectangle()

Who changed what in which revision?

UserRevisionLine numberNew 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 : Dragon6x8
Pokitto 0:e8b8f36b4505 10 //GLCD FontSize : 6 x 8
Pokitto 0:e8b8f36b4505 11 #include "PokittoFonts.h"
Pokitto 0:e8b8f36b4505 12
Pokitto 0:e8b8f36b4505 13 const unsigned char fontDragon[] = {
Pokitto 0:e8b8f36b4505 14 6,8,32,0, // width, height, start, only caps
Pokitto 0:e8b8f36b4505 15 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char
Pokitto 0:e8b8f36b4505 16 0x01, 0x5F, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char !
Pokitto 0:e8b8f36b4505 17 0x03, 0x03, 0x00, 0x03, 0x00, 0x00, 0x00, // Code for char "
Pokitto 0:e8b8f36b4505 18 0x05, 0x74, 0x1C, 0x77, 0x1C, 0x17, 0x00, // Code for char #
Pokitto 0:e8b8f36b4505 19 0x05, 0x04, 0x2A, 0x7F, 0x2A, 0x10, 0x00, // Code for char $
Pokitto 0:e8b8f36b4505 20 0x05, 0x62, 0x10, 0x08, 0x04, 0x23, 0x00, // Code for char %
Pokitto 0:e8b8f36b4505 21 0x05, 0x7A, 0x4D, 0x6B, 0x38, 0x48, 0x00, // Code for char &
Pokitto 0:e8b8f36b4505 22 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char '
Pokitto 0:e8b8f36b4505 23 0x02, 0x7E, 0x81, 0x00, 0x00, 0x00, 0x00, // Code for char (
Pokitto 0:e8b8f36b4505 24 0x02, 0x81, 0x7E, 0x00, 0x00, 0x00, 0x00, // Code for char )
Pokitto 0:e8b8f36b4505 25 0x05, 0x14, 0x08, 0x3E, 0x08, 0x14, 0x00, // Code for char *
Pokitto 0:e8b8f36b4505 26 0x05, 0x10, 0x10, 0x7C, 0x10, 0x10, 0x00, // Code for char +
Pokitto 0:e8b8f36b4505 27 0x01, 0xC0, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char ,
Pokitto 0:e8b8f36b4505 28 0x03, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, // Code for char -
Pokitto 0:e8b8f36b4505 29 0x01, 0x40, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char .
Pokitto 0:e8b8f36b4505 30 0x03, 0x60, 0x1C, 0x03, 0x00, 0x00, 0x00, // Code for char /
Pokitto 0:e8b8f36b4505 31 0x03, 0x7E, 0x41, 0x3F, 0x00, 0x00, 0x00, // Code for char 0
Pokitto 0:e8b8f36b4505 32 0x02, 0x02, 0x7F, 0x00, 0x00, 0x00, 0x00, // Code for char 1
Pokitto 0:e8b8f36b4505 33 0x03, 0x62, 0x59, 0x47, 0x00, 0x00, 0x00, // Code for char 2
Pokitto 0:e8b8f36b4505 34 0x03, 0x25, 0x47, 0x39, 0x00, 0x00, 0x00, // Code for char 3
Pokitto 0:e8b8f36b4505 35 0x03, 0x18, 0x16, 0x7F, 0x00, 0x00, 0x00, // Code for char 4
Pokitto 0:e8b8f36b4505 36 0x03, 0x27, 0x45, 0x39, 0x00, 0x00, 0x00, // Code for char 5
Pokitto 0:e8b8f36b4505 37 0x03, 0x3E, 0x45, 0x38, 0x00, 0x00, 0x00, // Code for char 6
Pokitto 0:e8b8f36b4505 38 0x03, 0x71, 0x0D, 0x03, 0x00, 0x00, 0x00, // Code for char 7
Pokitto 0:e8b8f36b4505 39 0x03, 0x76, 0x4D, 0x3B, 0x00, 0x00, 0x00, // Code for char 8
Pokitto 0:e8b8f36b4505 40 0x03, 0x0E, 0x51, 0x3E, 0x00, 0x00, 0x00, // Code for char 9
Pokitto 0:e8b8f36b4505 41 0x01, 0x24, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char :
Pokitto 0:e8b8f36b4505 42 0x01, 0xC8, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char ;
Pokitto 0:e8b8f36b4505 43 0x04, 0x10, 0x28, 0x28, 0x44, 0x00, 0x00, // Code for char <
Pokitto 0:e8b8f36b4505 44 0x04, 0x28, 0x28, 0x28, 0x28, 0x00, 0x00, // Code for char =
Pokitto 0:e8b8f36b4505 45 0x04, 0x44, 0x28, 0x28, 0x10, 0x00, 0x00, // Code for char >
Pokitto 0:e8b8f36b4505 46 0x04, 0x02, 0x51, 0x09, 0x07, 0x00, 0x00, // Code for char ?
Pokitto 0:e8b8f36b4505 47 0x06, 0x3C, 0x42, 0x99, 0xA5, 0x32, 0x1C, // Code for char @
Pokitto 0:e8b8f36b4505 48 0x05, 0x82, 0x7F, 0x05, 0x05, 0x7F, 0x00, // Code for char A
Pokitto 0:e8b8f36b4505 49 0x05, 0x81, 0x7F, 0x45, 0x47, 0x7D, 0x00, // Code for char B
Pokitto 0:e8b8f36b4505 50 0x04, 0x3E, 0x41, 0x81, 0x43, 0x00, 0x00, // Code for char C
Pokitto 0:e8b8f36b4505 51 0x05, 0x82, 0x7F, 0x21, 0x11, 0x0F, 0x00, // Code for char D
Pokitto 0:e8b8f36b4505 52 0x05, 0x02, 0x3F, 0x45, 0x85, 0x43, 0x00, // Code for char E
Pokitto 0:e8b8f36b4505 53 0x05, 0x81, 0x7F, 0x05, 0x05, 0x01, 0x00, // Code for char F
Pokitto 0:e8b8f36b4505 54 0x04, 0x1E, 0x21, 0x41, 0xF3, 0x00, 0x00, // Code for char G
Pokitto 0:e8b8f36b4505 55 0x05, 0x81, 0x7F, 0x08, 0x09, 0x7F, 0x00, // Code for char H
Pokitto 0:e8b8f36b4505 56 0x02, 0x82, 0x7F, 0x00, 0x00, 0x00, 0x00, // Code for char I
Pokitto 0:e8b8f36b4505 57 0x03, 0x82, 0x41, 0x3F, 0x00, 0x00, 0x00, // Code for char J
Pokitto 0:e8b8f36b4505 58 0x05, 0x81, 0x7F, 0x04, 0x0A, 0x71, 0x00, // Code for char K
Pokitto 0:e8b8f36b4505 59 0x05, 0x81, 0xFF, 0x41, 0x40, 0x60, 0x00, // Code for char L
Pokitto 0:e8b8f36b4505 60 0x06, 0x82, 0x7F, 0x02, 0x7F, 0x02, 0x7F, // Code for char M
Pokitto 0:e8b8f36b4505 61 0x05, 0x82, 0x7F, 0x02, 0x01, 0x7F, 0x00, // Code for char N
Pokitto 0:e8b8f36b4505 62 0x04, 0x7E, 0x81, 0x41, 0x3F, 0x00, 0x00, // Code for char O
Pokitto 0:e8b8f36b4505 63 0x05, 0x02, 0x7F, 0x89, 0x05, 0x03, 0x00, // Code for char P
Pokitto 0:e8b8f36b4505 64 0x04, 0x7E, 0xA1, 0x61, 0x9F, 0x00, 0x00, // Code for char Q
Pokitto 0:e8b8f36b4505 65 0x05, 0x82, 0x7F, 0x05, 0x0B, 0x71, 0x00, // Code for char R
Pokitto 0:e8b8f36b4505 66 0x04, 0x22, 0x45, 0x89, 0x73, 0x00, 0x00, // Code for char S
Pokitto 0:e8b8f36b4505 67 0x05, 0x02, 0x41, 0x7F, 0x81, 0x03, 0x00, // Code for char T
Pokitto 0:e8b8f36b4505 68 0x05, 0x02, 0x3F, 0x40, 0x40, 0xFF, 0x00, // Code for char U
Pokitto 0:e8b8f36b4505 69 0x05, 0x02, 0x3F, 0xC0, 0x30, 0x0F, 0x00, // Code for char V
Pokitto 0:e8b8f36b4505 70 0x06, 0x02, 0xFF, 0x40, 0x3C, 0x60, 0x1F, // Code for char W
Pokitto 0:e8b8f36b4505 71 0x05, 0x82, 0x73, 0x0C, 0x0C, 0x73, 0x00, // Code for char X
Pokitto 0:e8b8f36b4505 72 0x05, 0x02, 0x5F, 0x48, 0x84, 0x7F, 0x00, // Code for char Y
Pokitto 0:e8b8f36b4505 73 0x05, 0x42, 0x71, 0x49, 0x47, 0x81, 0x00, // Code for char Z
Pokitto 0:e8b8f36b4505 74 0x02, 0xFF, 0x81, 0x00, 0x00, 0x00, 0x00, // Code for char [
Pokitto 0:e8b8f36b4505 75 0x03, 0x03, 0x1C, 0x60, 0x00, 0x00, 0x00, // Code for char BackSlash
Pokitto 0:e8b8f36b4505 76 0x02, 0x81, 0xFF, 0x00, 0x00, 0x00, 0x00, // Code for char ]
Pokitto 0:e8b8f36b4505 77 0x05, 0x04, 0x02, 0x01, 0x02, 0x04, 0x00, // Code for char ^
Pokitto 0:e8b8f36b4505 78 0x05, 0x80, 0x80, 0x80, 0x80, 0x80, 0x00, // Code for char _
Pokitto 0:e8b8f36b4505 79 0x02, 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, // Code for char `
Pokitto 0:e8b8f36b4505 80 0x03, 0x74, 0x4C, 0x7C, 0x00, 0x00, 0x00, // Code for char a
Pokitto 0:e8b8f36b4505 81 0x03, 0x7F, 0x44, 0x3C, 0x00, 0x00, 0x00, // Code for char b
Pokitto 0:e8b8f36b4505 82 0x02, 0x3C, 0x44, 0x00, 0x00, 0x00, 0x00, // Code for char c
Pokitto 0:e8b8f36b4505 83 0x03, 0x78, 0x44, 0x7F, 0x00, 0x00, 0x00, // Code for char d
Pokitto 0:e8b8f36b4505 84 0x03, 0x38, 0x54, 0x1C, 0x00, 0x00, 0x00, // Code for char e
Pokitto 0:e8b8f36b4505 85 0x02, 0x7E, 0x09, 0x00, 0x00, 0x00, 0x00, // Code for char f
Pokitto 0:e8b8f36b4505 86 0x03, 0x38, 0xA4, 0x7C, 0x00, 0x00, 0x00, // Code for char g
Pokitto 0:e8b8f36b4505 87 0x03, 0x7F, 0x08, 0x7C, 0x00, 0x00, 0x00, // Code for char h
Pokitto 0:e8b8f36b4505 88 0x01, 0x7D, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char i
Pokitto 0:e8b8f36b4505 89 0x02, 0x80, 0x7D, 0x00, 0x00, 0x00, 0x00, // Code for char j
Pokitto 0:e8b8f36b4505 90 0x03, 0x7F, 0x08, 0x74, 0x00, 0x00, 0x00, // Code for char k
Pokitto 0:e8b8f36b4505 91 0x01, 0x7F, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char l
Pokitto 0:e8b8f36b4505 92 0x05, 0x7C, 0x08, 0x7C, 0x08, 0x7C, 0x00, // Code for char m
Pokitto 0:e8b8f36b4505 93 0x04, 0x08, 0x7C, 0x04, 0x78, 0x00, 0x00, // Code for char n
Pokitto 0:e8b8f36b4505 94 0x03, 0x78, 0x44, 0x3C, 0x00, 0x00, 0x00, // Code for char o
Pokitto 0:e8b8f36b4505 95 0x03, 0xFC, 0x24, 0x1C, 0x00, 0x00, 0x00, // Code for char p
Pokitto 0:e8b8f36b4505 96 0x03, 0x38, 0x24, 0xFC, 0x00, 0x00, 0x00, // Code for char q
Pokitto 0:e8b8f36b4505 97 0x03, 0x7C, 0x08, 0x1C, 0x00, 0x00, 0x00, // Code for char r
Pokitto 0:e8b8f36b4505 98 0x02, 0x4C, 0x34, 0x00, 0x00, 0x00, 0x00, // Code for char s
Pokitto 0:e8b8f36b4505 99 0x02, 0x3E, 0x44, 0x00, 0x00, 0x00, 0x00, // Code for char t
Pokitto 0:e8b8f36b4505 100 0x03, 0x3C, 0x40, 0x7C, 0x00, 0x00, 0x00, // Code for char u
Pokitto 0:e8b8f36b4505 101 0x03, 0x7C, 0x20, 0x1C, 0x00, 0x00, 0x00, // Code for char v
Pokitto 0:e8b8f36b4505 102 0x05, 0x1C, 0x60, 0x1C, 0x60, 0x1C, 0x00, // Code for char w
Pokitto 0:e8b8f36b4505 103 0x03, 0x64, 0x18, 0x64, 0x00, 0x00, 0x00, // Code for char x
Pokitto 0:e8b8f36b4505 104 0x03, 0x3C, 0x90, 0x7C, 0x00, 0x00, 0x00, // Code for char y
Pokitto 0:e8b8f36b4505 105 0x03, 0x64, 0x54, 0x4C, 0x00, 0x00, 0x00, // Code for char z
Pokitto 0:e8b8f36b4505 106 0x03, 0x18, 0x7E, 0x81, 0x00, 0x00, 0x00, // Code for char {
Pokitto 0:e8b8f36b4505 107 0x01, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, // Code for char |
Pokitto 0:e8b8f36b4505 108 0x03, 0x81, 0x7E, 0x18, 0x00, 0x00, 0x00, // Code for char }
Pokitto 0:e8b8f36b4505 109 0x05, 0x00, 0x10, 0x08, 0x10, 0x08, 0x00, // Code for char ~
Pokitto 0:e8b8f36b4505 110 0x04, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00 // Code for char 
Pokitto 0:e8b8f36b4505 111 };
Pokitto 0:e8b8f36b4505 112
Pokitto 0:e8b8f36b4505 113