36 lines
1.2 KiB
C
36 lines
1.2 KiB
C
// Filename : font_thin_num.c
|
|
// Font Size : 6x8
|
|
// Memory usage : 85 bytes
|
|
// # characters : 10
|
|
// Byte packing : Row
|
|
// Byte order : First pixel in first byte
|
|
// Bit order : First pixel MSB
|
|
// Built with TFT Font Factory, (c) TSX Software
|
|
|
|
// Please note: array data format is similar, but incompatible with UTFT library!
|
|
|
|
#include <stdint.h>
|
|
|
|
#if defined(__AVR__)
|
|
#include <avr/pgmspace.h>
|
|
#elif defined(__PIC32MX__)
|
|
#define PROGMEM
|
|
#elif defined(__arm__)
|
|
#define PROGMEM
|
|
#endif
|
|
|
|
const uint8_t numbers_5x7[] PROGMEM = {
|
|
// Flags, Max Width, Max Height, Starting Char, Char count
|
|
0x00, 0x06, 0x08, 0x30, 0x0A,
|
|
// Character data (8-bit unsigned)
|
|
0x72, 0x8A, 0x9A, 0xAA, 0xCA, 0x88, 0x70, 0x00, // #48
|
|
0x20, 0x60, 0x20, 0x20, 0x20, 0x20, 0x70, 0x02, // #49
|
|
0x72, 0x88, 0x08, 0x10, 0x20, 0x42, 0xF8, 0x00, // #50
|
|
0xF8, 0x10, 0x20, 0x10, 0x0A, 0x88, 0x70, 0x00, // #51
|
|
0x10, 0x30, 0x52, 0x92, 0xF8, 0x10, 0x10, 0x00, // #52
|
|
0xFA, 0x82, 0xF0, 0x08, 0x0A, 0x88, 0x70, 0x02, // #53
|
|
0x30, 0x42, 0x82, 0xF2, 0x8A, 0x88, 0x70, 0x00, // #54
|
|
0xF8, 0x08, 0x10, 0x20, 0x40, 0x40, 0x40, 0x00, // #55
|
|
0x72, 0x8A, 0x88, 0x72, 0x8A, 0x88, 0x70, 0x00, // #56
|
|
0x72, 0x8A, 0x88, 0x78, 0x08, 0x10, 0x60, 0x02 // #57
|
|
}; |