forked from pantata/TFT9341SPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CenturyFont.c
29 lines (27 loc) · 9.92 KB
/
CenturyFont.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// CenturyFont.c
// Font type : Numeric (10 characters)
// Font size : 32x48 pixels
// Memory usage : 1924 bytes
#if defined(__AVR__)
#include <avr/pgmspace.h>
#define fontdatatype const uint8_t
#elif defined(__PIC32MX__)
#define PROGMEM
#define fontdatatype const unsigned char
#elif defined(__arm__)
#define PROGMEM
#define fontdatatype const unsigned char
#endif
fontdatatype CenturyFont[1924] PROGMEM={
0x20,0x30,0x30,0x0A,
0x00,0x7F,0xFC,0x00,0x00,0xFF,0xFE,0x00,0x01,0xFF,0xFF,0x00,0x03,0xFF,0xFF,0x80,0x07,0xFF,0xFF,0xC0,0x0F,0xFF,0xFF,0xE0,0x3F,0xFF,0xFF,0xF0,0x3F,0xFE,0x7F,0xFC,0x7F,0xF0,0x0F,0xFC,0x7F,0xC0,0x07,0xFE,0x7F,0xC0,0x03,0xFE,0x7F,0x80,0x03,0xFE,0xFF,0x80,0x03,0xFE,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x01,0xFF,0xFF,0x00,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF,0x00,0x01,0xFF,0xFF,0x00,0x01,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x80,0x03,0xFE,0x7F,0xC0,0x03,0xFE,0x7F,0xC0,0x03,0xFE,0x7F,0xC0,0x07,0xFC,0x7F,0xE0,0x0F,0xFC,0x3F,0xF0,0x3F,0xFC,0x3F,0xFF,0xFF,0xF0,0x0F,0xFF,0xFF,0xE0,0x07,0xFF,0xFF,0xC0,0x03,0xFF,0xFF,0x80,0x01,0xFF,0xFF,0x00,0x00,0xFF,0xFE,0x00,0x00,0x3F,0xF0,0x00, // 0
0x03,0xFE,0x00,0x00,0x07,0xFF,0x00,0x00,0x0F,0xFF,0x80,0x00,0x0F,0xFF,0x80,0x01,0x3F,0xFF,0x80,0x03,0x3F,0xFF,0x80,0x07,0x3F,0xFF,0x80,0x0F,0x3F,0xFF,0x80,0x3F,0x00,0x7F,0x80,0x3F,0x00,0x7F,0x80,0x3F,0x00,0x7F,0x80,0x3F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x00,0x00,0x7F,0x80,0x01,0x00,0x7F,0x80,0x01,0x00,0x7F,0x80,0x03,0x00,0x7F,0x80,0x07,0x00,0x7F,0x80,0x0F,0x00,0x7F,0x80,0x3F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0x7F,0x00,0x7F,0x80,0xFF,0x00,0x7F,0x80,0xFF,0x00,0x7F,0x00,0xFF,0x00,0x00,0x00,0x00, // 1
0x3F,0xFE,0x00,0x00,0x3F,0xFF,0x00,0x00,0xFF,0xFF,0xC0,0x00,0xFF,0xFF,0xE0,0x01,0xFF,0xFF,0xF0,0x03,0xFF,0xFF,0xFC,0x07,0xFF,0xFF,0xFE,0x07,0xFE,0x3F,0xFE,0x0F,0xF0,0x07,0xFF,0x0F,0xE0,0x01,0xFF,0x3F,0xC0,0x01,0xFF,0x3F,0xC0,0x00,0xFF,0x3F,0xC0,0x00,0xFF,0x3F,0x80,0x00,0xFF,0x3F,0x80,0x00,0xFF,0x80,0x80,0x00,0xFF,0x80,0x80,0x00,0xFF,0x00,0x00,0x00,0xFF,0x00,0x00,0x01,0xFF,0x00,0x00,0x01,0xFF,0x00,0x00,0x03,0xFE,0x00,0x00,0x03,0xFE,0x00,0x00,0x07,0xFE,0x00,0x00,0x0F,0xFC,0x00,0x00,0x3F,0xFC,0x00,0x00,0x7F,0xF0,0x00,0x00,0xFF,0xE0,0x00,0x00,0xFF,0xC0,0x00,0x01,0xFF,0x80,0x00,0x01,0xFF,0x80,0x00,0x03,0xFF,0x80,0x00,0x07,0xFF,0x00,0x00,0x0F,0xFE,0x00,0x00,0x3F,0xFC,0x00,0x7F,0x7F,0xF0,0x00,0x7F,0xFF,0xE0,0x00,0x7F,0xFF,0xC0,0x00,0x7F,0xFF,0x80,0x00,0x3F,0xFF,0x00,0x00,0x3F,0xFF,0x00,0x00,0x3F,0xFE,0x00,0x00,0x3F,0xFF,0xFF,0xFF,0x8F,0xFF,0xFF,0xFF,0x87,0xFF,0xFF,0xFF,0x87,0xFF,0xFF,0xFF,0x83,0xFF,0xFF,0xFF,0x81,0xFF,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00, // 2
0x1F,0xFE,0x00,0x00,0x3F,0xFF,0x00,0x00,0xFF,0xFF,0x80,0x00,0xFF,0xFF,0xE0,0x00,0xFF,0xFF,0xF0,0x00,0xFF,0xFF,0xFC,0x00,0xFF,0xFF,0xFC,0x00,0xFE,0x3F,0xFE,0x00,0xFC,0x07,0xFE,0x00,0xF0,0x03,0xFE,0x00,0xE0,0x01,0xFF,0x00,0xE0,0x01,0xFF,0x00,0xE0,0x01,0xFF,0x00,0xE0,0x01,0xFF,0x00,0x00,0x01,0xFF,0x00,0x00,0x03,0xFE,0x00,0x00,0x0F,0xFE,0x00,0x00,0x7F,0xFE,0x00,0x07,0xFF,0xFC,0x00,0x07,0xFF,0xF0,0x00,0x07,0xFF,0xE0,0x00,0x07,0xFF,0xF0,0x00,0x07,0xFF,0xFC,0x00,0x07,0xFF,0xFE,0x00,0x07,0xFF,0xFF,0x00,0x00,0x3F,0xFF,0x00,0x00,0x03,0xFF,0x81,0x00,0x01,0xFF,0x83,0x00,0x00,0xFF,0x83,0x00,0x00,0x7F,0x83,0x00,0x00,0x7F,0x87,0x00,0x00,0x7F,0x8F,0x00,0x00,0x7F,0x9F,0x80,0x00,0x7F,0xBF,0x80,0x00,0x7F,0xBF,0xC0,0x00,0x7F,0xBF,0xC0,0x00,0xFF,0xBF,0xC0,0x00,0xFF,0x80,0xE0,0x00,0xFF,0x80,0xE0,0x01,0xFF,0x00,0xFC,0x03,0xFF,0x00,0xFF,0xFF,0xFF,0x00,0xFF,0xFF,0xFE,0x00,0xFF,0xFF,0xFC,0x00,0xFF,0xFF,0xF0,0x00,0xFF,0xFF,0xC0,0x00,0x7F,0xFF,0x80,0x00,0x0F,0xFE,0x00,0x00, // 3
0x00,0x00,0x7E,0x00,0x00,0x00,0x7E,0x00,0x00,0x00,0x7E,0x00,0x00,0x00,0xFE,0x00,0x00,0x01,0xFE,0x00,0x00,0x01,0xFE,0x00,0x00,0x03,0xFE,0x00,0x00,0x07,0xFE,0x00,0x00,0x07,0xFE,0x00,0x00,0x0F,0xFE,0x00,0x00,0x0F,0xFE,0x00,0x00,0x3F,0xFE,0x00,0x00,0x7F,0xFE,0x00,0x00,0xFF,0xFE,0x00,0x00,0xFF,0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0xF0,0xFF,0x00,0x0F,0xF0,0xFF,0x00,0x07,0xFC,0xFE,0x00,0x07,0xFC,0xFE,0x00,0x07,0xFC,0xFE,0x00,0x07,0xFC,0xFE,0x00,0x07,0xFC,0xFF,0x00,0x07,0xF8,0xFF,0x00,0x0F,0xF0,0xFF,0x00,0x0F,0xF0,0xFF,0x80,0x3F,0xF0,0xFF,0xC0,0x7F,0xE0,0x7F,0xFF,0xFF,0xE0,0x7F,0xFF,0xFF,0xC0,0x3F,0xFF,0xFF,0x80,0x0F,0xFF,0xFF,0x00,0x07,0xFF,0xFE,0x00,0x01,0xFF,0xFC,0x00,0x00,0x7F,0xC0,0x00, // 6
0x3F,0xFF,0xFF,0xFC,0x7F,0xFF,0xFF,0xFE,0xFF,0xFF,0xFF,0xFE,0xFF,0xFF,0xFF,0xFE,0xFF,0xFF,0xFF,0xFE,0xFF,0xFF,0xFF,0xFE,0xFF,0xFF,0xFF,0xFC,0xFF,0xFF,0xFF,0xFC,0x00,0x00,0x3F,0xF0,0x00,0x00,0x3F,0xE0,0x00,0x00,0x3F,0xE0,0x00,0x00,0x7F,0xC0,0x00,0x00,0x7F,0xC0,0x00,0x00,0x7F,0xC0,0x00,0x00,0xFF,0x80,0x00,0x00,0xFF,0x80,0x00,0x01,0xFF,0x80,0x00,0x01,0xFF,0x00,0x00,0x03,0xFF,0x00,0x00,0x03,0xFE,0x00,0x00,0x03,0xFE,0x00,0x00,0x07,0xFE,0x00,0x00,0x07,0xFC,0x00,0x00,0x0F,0xFC,0x00,0x00,0x3F,0xF0,0x00,0x00,0x3F,0xE0,0x00,0x00,0x7F,0xE0,0x00,0x00,0x7F,0xC0,0x00,0x00,0x7F,0xC0,0x00,0x00,0xFF,0x80,0x01,0x00,0xFF,0x80,0x01,0x01,0xFF,0x80,0x01,0x01,0xFF,0x00,0x01,0x03,0xFF,0x00,0x01,0x03,0xFE,0x00,0x01,0x07,0xFE,0x00,0x01,0x07,0xFC,0x00,0x01,0x07,0xFC,0x00,0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