mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
170 lines
9.9 KiB
C
170 lines
9.9 KiB
C
#include "../include/driver_framebuffer.h"
|
|
const uint8_t org_01_13pt7bBitmaps[] = {
|
|
0x00, 0xFF, 0xC3, 0xC0, 0xDE, 0xC0, 0x36, 0x1B, 0x3F, 0xFF, 0xF3, 0x67,
|
|
0xFF, 0xFE, 0x6C, 0x36, 0x00, 0xFF, 0xFF, 0xFC, 0xC3, 0xFF, 0xFF, 0xC3,
|
|
0x30, 0xCF, 0xFF, 0xFF, 0xC0, 0xC0, 0xF0, 0x30, 0x30, 0x0C, 0x0C, 0x03,
|
|
0x03, 0x00, 0xC0, 0xC0, 0xC0, 0xFE, 0x7F, 0x31, 0x9F, 0xFF, 0xFE, 0x33,
|
|
0x19, 0xF3, 0xF9, 0x80, 0xF0, 0x33, 0xCC, 0xCC, 0xC3, 0x30, 0xCC, 0x33,
|
|
0x33, 0x3C, 0xC0, 0xD9, 0x09, 0xBD, 0x80, 0x33, 0xFF, 0xCC, 0x30, 0xFF,
|
|
0xFE, 0xF0, 0x00, 0xC0, 0x40, 0x30, 0x30, 0x0C, 0x0C, 0x03, 0x03, 0x00,
|
|
0xC0, 0x00, 0xFF, 0xFF, 0xF0, 0x78, 0x3C, 0x1E, 0x0F, 0x07, 0xFF, 0xFF,
|
|
0x80, 0xFF, 0xFF, 0xC0, 0xFF, 0xFF, 0xC0, 0x7F, 0xFF, 0xFE, 0x03, 0x01,
|
|
0xFF, 0xFF, 0x80, 0xFF, 0xFF, 0xC0, 0x7F, 0xFF, 0xF8, 0x0C, 0x07, 0xFF,
|
|
0xFF, 0x80, 0xC1, 0xE0, 0xF0, 0x7F, 0xFF, 0xF8, 0x0C, 0x06, 0x03, 0x01,
|
|
0x80, 0xFF, 0xFF, 0xF0, 0x1F, 0xFF, 0xF8, 0x0C, 0x07, 0xFF, 0xFF, 0x80,
|
|
0xFF, 0xFF, 0xF0, 0x1F, 0xF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')'
|
|
{ 63, 5, 5, 7, 1, -6 }, // 0x2A '*'
|
|
{ 67, 6, 5, 7, 0, -6 }, // 0x2B '+'
|
|
{ 71, 2, 4, 4, 1, -1 }, // 0x2C ','
|
|
{ 72, 7, 1, 9, 1, -4 }, // 0x2D '-'
|
|
{ 73, 2, 2, 4, 1, -1 }, // 0x2E '.'
|
|
{ 74, 10, 9, 11, 0, -8 }, // 0x2F '/'
|
|
{ 86, 9, 9, 11, 1, -8 }, // 0x30 '0'
|
|
{ 97, 2, 9, 4, 1, -8 }, // 0x31 '1'
|
|
{ 100, 9, 9, 11, 1, -8 }, // 0x32 '2'
|
|
{ 111, 9, 9, 11, 1, -8 }, // 0x33 '3'
|
|
{ 122, 9, 9, 11, 1, -8 }, // 0x34 '4'
|
|
{ 133, 9, 9, 11, 1, -8 }, // 0x35 '5'
|
|
{ 144, 9, 9, 11, 1, -8 }, // 0x36 '6'
|
|
{ 155, 9, 9, 11, 1, -8 }, // 0x37 '7'
|
|
{ 166, 9, 9, 11, 1, -8 }, // 0x38 '8'
|
|
{ 177, 9, 9, 11, 1, -8 }, // 0x39 '9'
|
|
{ 188, 2, 7, 4, 1, -6 }, // 0x3A ':'
|
|
{ 190, 2, 7, 4, 1, -6 }, // 0x3B ';'
|
|
{ 192, 6, 9, 7, 0, -8 }, // 0x3C '<'
|
|
{ 199, 7, 5, 9, 1, -6 }, // 0x3D '='
|
|
{ 204, 5, 9, 7, 1, -8 }, // 0x3E '>'
|
|
{ 210, 9, 9, 11, 1, -8 }, // 0x3F '?'
|
|
{ 221, 10, 9, 11, 0, -8 }, // 0x40 '@'
|
|
{ 233, 9, 9, 11, 1, -8 }, // 0x41 'A'
|
|
{ 244, 9, 9, 11, 1, -8 }, // 0x42 'B'
|
|
{ 255, 9, 9, 11, 1, -8 }, // 0x43 'C'
|
|
{ 266, 9, 9, 11, 1, -8 }, // 0x44 'D'
|
|
{ 277, 9, 9, 11, 1, -8 }, // 0x45 'E'
|
|
{ 288, 9, 9, 11, 1, -8 }, // 0x46 'F'
|
|
{ 299, 9, 9, 11, 1, -8 }, // 0x47 'G'
|
|
{ 310, 9, 9, 11, 1, -8 }, // 0x48 'H'
|
|
{ 321, 9, 9, 11, 1, -8 }, // 0x49 'I'
|
|
{ 332, 9, 9, 11, 1, -8 }, // 0x4A 'J'
|
|
{ 343, 9, 9, 11, 1, -8 }, // 0x4B 'K'
|
|
{ 354, 9, 9, 11, 1, -8 }, // 0x4C 'L'
|
|
{ 365, 10, 9, 11, 0, -8 }, // 0x4D 'M'
|
|
{ 377, 9, 9, 11, 1, -8 }, // 0x4E 'N'
|
|
{ 388, 9, 9, 11, 1, -8 }, // 0x4F 'O'
|
|
{ 399, 9, 9, 11, 1, -8 }, // 0x50 'P'
|
|
{ 410, 9, 9, 11, 1, -8 }, // 0x51 'Q'
|
|
{ 421, 9, 9, 11, 1, -8 }, // 0x52 'R'
|
|
{ 432, 9, 9, 11, 1, -8 }, // 0x53 'S'
|
|
{ 443, 9, 9, 11, 1, -8 }, // 0x54 'T'
|
|
{ 454, 9, 9, 11, 1, -8 }, // 0x55 'U'
|
|
{ 465, 10, 9, 11, 0, -8 }, // 0x56 'V'
|
|
{ 477, 10, 9, 11, 0, -8 }, // 0x57 'W'
|
|
{ 489, 10, 9, 11, 0, -8 }, // 0x58 'X'
|
|
{ 501, 10, 9, 11, 0, -8 }, // 0x59 'Y'
|
|
{ 513, 9, 9, 11, 1, -8 }, // 0x5A 'Z'
|
|
{ 524, 4, 9, 5, 0, -8 }, // 0x5B '['
|
|
{ 529, 10, 9, 11, 0, -8 }, // 0x5C '\'
|
|
{ 541, 4, 9, 5, 0, -8 }, // 0x5D ']'
|
|
{ 546, 6, 4, 7, 0, -8 }, // 0x5E '^'
|
|
{ 549, 9, 2, 11, 1, 1 }, // 0x5F '_'
|
|
{ 552, 2, 2, 4, 1, -8 }, // 0x60 '`'
|
|
{ 553, 7, 7, 9, 1, -6 }, // 0x61 'a'
|
|
{ 560, 7, 9, 9, 1, -8 }, // 0x62 'b'
|
|
{ 568, 7, 7, 9, 1, -6 }, // 0x63 'c'
|
|
{ 575, 7, 9, 9, 1, -8 }, // 0x64 'd'
|
|
{ 583, 7, 7, 9, 1, -6 }, // 0x65 'e'
|
|
{ 590, 6, 9, 7, 0, -8 }, // 0x66 'f'
|
|
{ 597, 7, 9, 9, 1, -6 }, // 0x67 'g'
|
|
{ 605, 7, 9, 9, 1, -8 }, // 0x68 'h'
|
|
{ 613, 2, 7, 4, 1, -6 }, // 0x69 'i'
|
|
{ 615, 4, 9, 5, 0, -6 }, // 0x6A 'j'
|
|
{ 620, 7, 9, 9, 1, -8 }, // 0x6B 'k'
|
|
{ 628, 2, 9, 4, 1, -8 }, // 0x6C 'l'
|
|
{ 631, 10, 7, 11, 0, -6 }, // 0x6D 'm'
|
|
{ 640, 7, 7, 9, 1, -6 }, // 0x6E 'n'
|
|
{ 647, 7, 7, 9, 1, -6 }, // 0x6F 'o'
|
|
{ 654, 7, 9, 9, 1, -6 }, // 0x70 'p'
|
|
{ 662, 7, 9, 9, 1, -6 }, // 0x71 'q'
|
|
{ 670, 7, 7, 9, 1, -6 }, // 0x72 'r'
|
|
{ 677, 7, 7, 9, 1, -6 }, // 0x73 's'
|
|
{ 684, 9, 9, 11, 1, -8 }, // 0x74 't'
|
|
{ 695, 7, 7, 9, 1, -6 }, // 0x75 'u'
|
|
{ 702, 7, 7, 9, 1, -6 }, // 0x76 'v'
|
|
{ 709, 10, 7, 11, 0, -6 }, // 0x77 'w'
|
|
{ 718, 7, 7, 9, 1, -6 }, // 0x78 'x'
|
|
{ 725, 7, 9, 9, 1, -6 }, // 0x79 'y'
|
|
{ 733, 7, 7, 9, 1, -6 }, // 0x7A 'z'
|
|
{ 740, 6, 9, 7, 0, -8 }, // 0x7B '{'
|
|
{ 747, 2, 9, 4, 1, -8 }, // 0x7C '|'
|
|
{ 750, 6, 9, 7, 0, -8 }, // 0x7D '}'
|
|
{ 757, 9, 5, 11, 1, -6 } }; // 0x7E '~'
|
|
|
|
const GFXfont org_01_13pt7b = {
|
|
(uint8_t *)org_01_13pt7bBitmaps,
|
|
(GFXglyph *)org_01_13pt7bGlyphs,
|
|
0x20, 0x7E, 13 };//B
|
|
|
|
// Approx. 1435 bytes
|