275 líneas
10 KiB
C
275 líneas
10 KiB
C
|
|
||
|
|
||
|
#ifndef FONT454_H
|
||
|
#define FONT454_H
|
||
|
|
||
|
//#include <avr/io.h>
|
||
|
//#include <avr/pgmspace.h>
|
||
|
|
||
|
// generated from https://bitbucket.org/thesheep/font454
|
||
|
|
||
|
// 4-pixel-wide matrix of 0-3 intensity, packed AABBCCDD
|
||
|
static const unsigned char font454[] PROGMEM = {
|
||
|
// default ASCII character set
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x30, 0x30, 0x20, 0x00, 0x30, 0x00,
|
||
|
0xcc, 0x88, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x88, 0xfc, 0x88, 0xfc, 0x88, 0x00,
|
||
|
0x20, 0xb8, 0xf0, 0x3c, 0xb8, 0x00,
|
||
|
0xcc, 0x08, 0x30, 0x80, 0xcc, 0x00,
|
||
|
0xb0, 0xcc, 0x34, 0xcc, 0xbc, 0x00,
|
||
|
0x30, 0x20, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x70, 0x80, 0xc0, 0x80, 0x70, 0x00,
|
||
|
0x34, 0x08, 0x0c, 0x08, 0x34, 0x00,
|
||
|
0x00, 0x98, 0x74, 0x98, 0x00, 0x00,
|
||
|
0x00, 0x30, 0xfc, 0x30, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x30, 0x80, 0x00,
|
||
|
0x00, 0x00, 0xfc, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x30, 0x00,
|
||
|
0x0c, 0x18, 0x30, 0x90, 0xc0, 0x00,
|
||
|
0x78, 0xcc, 0xcc, 0xcc, 0xb4, 0x00,
|
||
|
0x30, 0xb0, 0x30, 0x30,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x00,
|
||
|
0x1c, 0x30, 0xb8, 0x30, 0x30, 0x30,
|
||
|
0x00, 0xe4, 0x88, 0x6c, 0x08, 0xe4,
|
||
|
0xc0, 0xe4, 0xc8, 0xcc, 0xcc, 0x00,
|
||
|
0x30, 0x00, 0x70, 0x30, 0x2c, 0x00,
|
||
|
0x0c, 0x00, 0x1c, 0x0c, 0xcc, 0xb8,
|
||
|
0xc0, 0xcc, 0xe0, 0xc8, 0xcc, 0x00,
|
||
|
0x70, 0x30, 0x30, 0x20, 0x18, 0x00,
|
||
|
0x00, 0xf4, 0xfc, 0xec, 0xcc, 0x00,
|
||
|
0x00, 0xe4, 0xc8, 0xcc, 0xcc, 0x00,
|
||
|
0x00, 0x74, 0x88, 0x88, 0x74, 0x00,
|
||
|
0x00, 0xe4, 0xc8, 0xc8, 0xe4, 0xc0,
|
||
|
0x00, 0x64, 0x88, 0x8c, 0x6c, 0x0c,
|
||
|
0x00, 0x8c, 0xe0, 0xc0, 0xc0, 0x00,
|
||
|
0x00, 0x6c, 0x90, 0x18, 0xf4, 0x00,
|
||
|
0x30, 0xb8, 0x30, 0x20, 0x18, 0x00,
|
||
|
0x00, 0xcc, 0xcc, 0x8c, 0x78, 0x00,
|
||
|
0x00, 0xcc, 0xcc, 0x98, 0x20, 0x00,
|
||
|
0x00, 0xcc, 0xdc, 0xfc, 0xec, 0x00,
|
||
|
0x00, 0xcc, 0x64, 0x64, 0xcc, 0x00,
|
||
|
0x00, 0xcc, 0xcc, 0x78, 0x08, 0xa4,
|
||
|
0x00, 0xfc, 0x18, 0x90, 0xfc, 0x00,
|
||
|
0x2c, 0x30, 0xd0, 0x30, 0x2c, 0x00,
|
||
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||
|
0xe0, 0x30, 0x1c, 0x30, 0xe0, 0x00,
|
||
|
0xb0, 0xc0, 0x74, 0x0c, 0x38, 0x00,
|
||
|
0xec, 0x88, 0x88, 0x88, 0xec, 0x00,
|
||
|
|
||
|
// line-drawing character set
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x30, 0x30, 0x20, 0x00, 0x30, 0x00,
|
||
|
0xcc, 0x88, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x88, 0xfc, 0x88, 0xfc, 0x88, 0x00,
|
||
|
0x20, 0xb8, 0xf0, 0x3c, 0xb8, 0x00,
|
||
|
0xcc, 0x08, 0x30, 0x80, 0xcc, 0x00,
|
||
|
0xb0, 0xcc, 0x34, 0xcc, 0xbc, 0x00,
|
||
|
0x30, 0x20, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x70, 0x80, 0xc0, 0x80, 0x70, 0x00,
|
||
|
0x34, 0x08, 0x0c, 0x08, 0x34, 0x00,
|
||
|
0x00, 0x98, 0x74, 0x98, 0x00, 0x00,
|
||
|
0x00, 0x30, 0xfc, 0x30, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x30, 0x80, 0x00,
|
||
|
0x00, 0x00, 0xfc, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x30, 0x00,
|
||
|
0x0c, 0x18, 0x30, 0x90, 0xc0, 0x00,
|
||
|
0x78, 0xcc, 0xcc, 0xcc, 0xb4, 0x00,
|
||
|
0x30, 0xb0, 0x30, 0x30, 0x30, 0x00,
|
||
|
0xe4, 0x0c, 0x74, 0x80, 0xfc, 0x00,
|
||
|
0xb8, 0x0c, 0x34, 0x0c, 0xb8, 0x00,
|
||
|
0x30, 0x90, 0xcc, 0xfc, 0x0c, 0x00,
|
||
|
0xfc, 0xc0, 0xf8, 0x0c, 0xf8, 0x00,
|
||
|
0x78, 0xc0, 0xb8, 0xcc, 0xb8, 0x00,
|
||
|
0xfc, 0x08, 0x30,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x8c, 0x7c, 0x00,
|
||
|
0xe4, 0xcc, 0xcc, 0xe4, 0xcc, 0x00,
|
||
|
0xb8, 0xc0, 0xb8, 0x0c, 0xb8, 0x00,
|
||
|
0xfc, 0x30, 0x30, 0x30, 0x30, 0x00,
|
||
|
0xcc, 0xcc, 0xcc, 0x8c, 0x68, 0x00,
|
||
|
0xcc, 0xcc, 0xcc, 0x98, 0x30, 0x00,
|
||
|
0xcc, 0xcc, 0xdc, 0xfc, 0xec, 0x00,
|
||
|
0xcc, 0x88, 0x20, 0x88, 0xcc, 0x00,
|
||
|
0xcc, 0x88, 0x64, 0x30, 0x30, 0x00,
|
||
|
0xfc, 0x08, 0x30, 0x80, 0xfc, 0x00,
|
||
|
0xf0, 0xc0, 0xc0, 0xc0, 0xf0, 0x00,
|
||
|
0xc0, 0x90, 0x30, 0x18, 0x0c, 0x00,
|
||
|
0x3c, 0x0c, 0x0c, 0x0c, 0x3c, 0x00,
|
||
|
0x30, 0xdc, 0x88, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x00, 0x00, 0x00, 0x00, 0xfc,
|
||
|
0xc0, 0x20, 0x00, 0x00, 0x00, 0x00,
|
||
|
0x00, 0x6c, 0x8c, 0x8c, 0x6c, 0x00,
|
||
|
0xc0, 0xe4, 0xc8, 0xc8, 0xe4, 0x00,
|
||
|
0x00, 0x6c, 0x80, 0x80, 0x6c, 0x00,
|
||
|
0x0c, 0x6c, 0x8c, 0x8c, 0x6c, 0x00,
|
||
|
0x00, 0x38, 0x8c, 0xe0, 0x7c, 0x00,
|
||
|
0x1c, 0x30, 0xb8, 0x30, 0x30, 0x30,
|
||
|
0x00, 0xe4, 0x88, 0x6c, 0x08, 0xe4,
|
||
|
0xc0, 0xe4, 0xc8, 0xcc, 0xcc, 0x00,
|
||
|
0x30, 0x00, 0x70, 0x30, 0x2c, 0x00,
|
||
|
0x30, 0x30, 0xf0, 0x00, 0x00, 0x00, // 0x6A j
|
||
|
0x00, 0x00, 0xf0, 0x30, 0x30, 0x30, // 0x6B k
|
||
|
0x00, 0x00, 0x3f, 0x30, 0x30, 0x30, // 0x6C l
|
||
|
0x30, 0x30, 0x3f, 0x00, 0x00, 0x00, // 0x6D m
|
||
|
0x30, 0x30, 0xff, 0x30, 0x30, 0x30, // 0x6E n
|
||
|
0x00, 0x74, 0x88, 0x88, 0x74, 0x00,
|
||
|
0x00, 0xe4, 0xc8, 0xc8, 0xe4, 0xc0,
|
||
|
0x00, 0x00, 0xff, 0x00, 0x00, 0x00, // 0x71 q
|
||
|
0x00, 0x8c, 0xe0, 0xc0, 0xc0, 0x00,
|
||
|
0x00, 0x6c, 0x90, 0x18, 0xf4, 0x00,
|
||
|
0x30, 0x30, 0x3f, 0x30, 0x30, 0x30, // 0x74 t
|
||
|
0x30, 0x30, 0xf0, 0x30, 0x30, 0x30, // 0x75 u
|
||
|
0x30, 0x30, 0xff, 0x00, 0x00, 0x00, // 0x76 v
|
||
|
0x00, 0x00, 0xff, 0x30, 0x30, 0x30, // 0x77 w
|
||
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30, // 0x78 x
|
||
|
0x00, 0xcc, 0xcc, 0x78, 0x08, 0xa4,
|
||
|
0x00, 0xfc, 0x18, 0x90, 0xfc, 0x00,
|
||
|
0x2c, 0x30, 0xd0, 0x30, 0x2c, 0x00,
|
||
|
0x30, 0x30, 0x30, 0x30, 0x30, 0x30,
|
||
|
0xe0, 0x30, 0x1c, 0x30, 0xe0, 0x00,
|
||
|
0xb0, 0xc0, 0x74, 0x0c, 0x38, 0x00,
|
||
|
0xec, 0x88, 0x88, 0x88, 0xec, 0x00
|
||
|
};
|
||
|
|
||
|
#endif
|