add micro and pi

This commit is contained in:
TT 2016-10-29 18:19:59 +09:00
parent 6ef436463c
commit 6ff0acecdf
2 changed files with 17 additions and 15 deletions

View file

@ -549,38 +549,38 @@ const uint16_t x5x7_bits [] =
+----------------+
| |
| |
| *** |
| * * |
|***** |
| * * |
| * * |
|* ** |
| |
+----------------+ */
0x0000,
0x0000,
0x7000,
0x5000,
0xf800,
0x5000,
0x5000,
0x9800,
0x0000,
/* Character (0x1d):
bbw=5, bbh=7, bbx=0, bby=-1, width=5
+----------------+
| |
| * |
| *** |
| * |
| *** |
| * |
| |
|* * |
|* * |
|* * |
|*** |
|* |
+----------------+ */
0x0000,
0x1000,
0x7000,
0x2000,
0x7000,
0x4000,
0x0000,
0x9000,
0x9000,
0x9000,
0xe000,
0x8000,
/* Character (0x1e):
bbw=5, bbh=7, bbx=0, bby=-1, width=5

View file

@ -122,7 +122,9 @@ void draw_cell_all(void);
extern const uint16_t x5x7_bits [];
extern const uint32_t numfont20x24[][24];
#define CHAR_OHM '\0x1e'
#define CHAR_PI '\0x1c'
#define CHAR_MICRO '\0x1d'
#define CHAR_OHM '\0x1e'
int caldata_save(void);
int caldata_recall(void);