forked from pantata/TFT9341SPI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Century.c
29 lines (27 loc) · 5.67 KB
/
Century.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
// Century.c
// Font type : Numeric (10 characters)
// Font size : 24x35 pixels
// Memory usage : 1054 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 Century[1054] PROGMEM={
0x18,0x23,0x30,0x0A,
0x00,0x7E,0x00,0x05,0xFF,0x80,0x0B,0xFF,0xF0,0x0F,0xFF,0xE0,0x1F,0xFF,0xF0,0x1F,0x81,0xF8,0x3F,0x00,0xF8,0x3E,0x00,0x7C,0x7E,0x00,0x7E,0x7C,0x00,0x3E,0x7C,0x00,0x3E,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0xFC,0x00,0x3F,0x7C,0x00,0x3E,0x7C,0x00,0x3E,0x7E,0x00,0x7E,0x3E,0x00,0x7C,0x3F,0x00,0xF8,0x1F,0x81,0xF8,0x1F,0xFF,0xF0,0x0F,0xFF,0xE0,0x0B,0xFF,0xF0,0x05,0xFF,0x80,0x00,0x7E,0x00, // 0
0x00,0x00,0x00,0x00,0xFF,0x00,0x01,0xFF,0x00,0x01,0xFF,0x00,0x03,0xFF,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x00,0x00, // 1
0x00,0x3F,0x80,0x00,0xFF,0xE0,0x05,0xFF,0xF0,0x07,0xFF,0xF8,0x07,0xFF,0xFC,0x0F,0xC0,0xFE,0x1F,0x80,0x3E,0x3F,0x00,0x3E,0x3F,0x00,0x1F,0x3E,0x00,0x1F,0x3E,0x00,0x1F,0x3E,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x3E,0x00,0x00,0x3E,0x00,0x00,0x7E,0x00,0x00,0xFC,0x00,0x01,0xF8,0x00,0x03,0xFC,0x00,0x03,0xF0,0x00,0x07,0xE0,0x00,0x0F,0xC0,0x00,0x1F,0x80,0x00,0x3F,0x80,0x00,0x7F,0x00,0x01,0xFE,0x00,0x01,0xFE,0x00,0x03,0xF8,0x00,0x07,0xF0,0x00,0x0F,0xE0,0x00,0x1F,0xFF,0xFF,0x1F,0xFF,0xFF,0x3F,0xFF,0xFF,0x3F,0xFF,0xFF,0x00,0x00,0x00, // 2
0x00,0x7F,0x00,0x00,0xFF,0xC0,0x03,0xFF,0xF0,0x07,0xFF,0xF0,0x07,0xFF,0xF8,0x0F,0xC0,0xF8,0x1F,0xC0,0x7C,0x1F,0x00,0x7E,0x3F,0x00,0x7E,0x00,0x00,0x7E,0x00,0x00,0x7E,0x00,0x00,0xFC,0x00,0x01,0xF8,0x00,0x27,0xF8,0x00,0x3F,0xF0,0x00,0x3F,0xF0,0x00,0x3F,0xF8,0x00,0x63,0xFC,0x00,0x00,0xFE,0x00,0x00,0x7E,0x00,0x00,0x3E,0x00,0x00,0x1F,0x00,0x00,0x1F,0x00,0x00,0x0F,0x3C,0x00,0x1F,0x3C,0x00,0x1F,0x3E,0x00,0x1F,0x3F,0x00,0x3E,0x3F,0x80,0x7E,0x1F,0x80,0xFE,0x0F,0xFF,0xFC,0x0F,0xFF,0xF8,0x03,0xFF,0xE0,0x01,0xFF,0xC0,0x00,0x7F,0x00, // 3
0x00,0x00,0x38,0x00,0x00,0x38,0x00,0x00,0x78,0x00,0x00,0x78,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x01,0xF8,0x00,0x03,0xF8,0x00,0x07,0xF8,0x00,0x0F,0xF8,0x00,0x0F,0xF8,0x00,0x3F,0xF8,0x00,0x3F,0xF8,0x00,0x3E,0xF8,0x00,0x7C,0xF8,0x00,0xFC,0xF8,0x00,0xF8,0xF8,0x01,0xF8,0xF8,0x03,0xF0,0xF8,0x0F,0xE0,0xF8,0x07,0xE0,0xF8,0x0F,0xC0,0xF8,0x1F,0xFF,0xFF,0x3F,0xFF,0xFF,0x7F,0xFF,0xFF,0x7F,0xFF,0xFF,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0xF8,0x00,0x00,0x00, // 4
0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0xFF,0xFF,0x01,0xFF,0xFF,0x01,0xFF,0xFF,0x01,0xF0,0x00,0x01,0xF0,0x00,0x01,0xF0,0x00,0x01,0xF0,0x00,0x01,0xE0,0x00,0x03,0xE0,0x00,0x03,0xE0,0x00,0x03,0xFF,0x80,0x03,0xFF,0xF8,0x07,0xFF,0xF0,0x07,0xFF,0xFC,0x07,0xC3,0xFC,0x04,0x00,0x7E,0x00,0x00,0x3F,0x00,0x00,0x3F,0x00,0x00,0x1F,0x00,0x00,0x1F,0x80,0x00,0x1F,0x80,0x00,0x1F,0x80,0x00,0x1F,0xBE,0x00,0x1F,0x3E,0x00,0x3F,0x3E,0x00,0x3E,0x3F,0x00,0x7E,0x1F,0x81,0xFC,0x0F,0xFF,0xFC,0x07,0xFF,0xF8,0x03,0xFF,0xE8,0x01,0xFF,0xD0,0x00,0x7F,0x00, // 5
0x00,0x00,0xC0,0x00,0x00,0xE8,0x00,0x01,0xF8,0x00,0x03,0xF0,0x00,0x03,0xE0,0x00,0x07,0xE0,0x00,0x0F,0xC0,0x00,0x0F,0xC0,0x00,0x1F,0x80,0x00,0x3F,0x00,0x00,0xBF,0x00,0x00,0x7E,0x00,0x00,0xFC,0x00,0x01,0xF8,0x00,0x01,0xF8,0x00,0x03,0xFF,0xE0,0x03,0xFF,0xF0,0x07,0xFF,0xF8,0x0F,0xFF,0xFC,0x0F,0xF1,0xFE,0x0F,0xC0,0x3F,0x1F,0x80,0x5F,0x9F,0x80,0x1F,0x9F,0x00,0x1F,0x1F,0x00,0x1F,0x1F,0x00,0x1F,0x1F,0x00,0x1F,0x0F,0x80,0x1F,0x0F,0x80,0x7E,0x0F,0xE0,0x7E,0x07,0xFF,0xFC,0x03,0xFF,0xFC,0x07,0xFF,0xF0,0x00,0xFF,0xD0,0x00,0x1F,0x80, // 6
0x00,0x00,0x00,0x0F,0xFF,0xFF,0x0F,0xFF,0xFF,0x0F,0xFF,0xFF,0x0F,0xFF,0xFF,0x00,0x00,0x3E,0x00,0x00,0x7E,0x00,0x00,0x7C,0x00,0x00,0xFC,0x00,0x00,0xF8,0x00,0x01,0xF8,0x00,0x01,0xF0,0x00,0x03,0xF0,0x00,0x03,0xE0,0x00,0x07,0xE0,0x00,0x07,0xC0,0x00,0x0F,0xC0,0x00,0x0F,0x80,0x00,0x1F,0x00,0x00,0x3F,0x00,0x00,0x3F,0x00,0x00,0x3E,0x00,0x00,0x7C,0x00,0x80,0xFC,0x00,0x80,0xFA,0x00,0x81,0xF8,0x00,0x81,0xF0,0x00,0x03,0xF0,0x00,0x03,0xE0,0x00,0x07,0xE0,0x00,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