Nicer '0'

This commit is contained in:
OneOfEleven 2023-09-10 05:59:28 +01:00
parent 2d8c4787bf
commit 1e3368ac2e
4 changed files with 5 additions and 4 deletions

BIN
firmware

Binary file not shown.

Binary file not shown.

Binary file not shown.

9
font.c
View File

@ -145,7 +145,7 @@ const uint8_t gFontSmallDigits[11][7] = {
// ASCII 5x7 font
const uint8_t gFont5x7[5 * 16 * 6] =
{
0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, // ' '
0x00, 0x00, 0x5F, 0x00, 0x00,
0x00, 0x07, 0x00, 0x07, 0x00,
0x14, 0x7F, 0x14, 0x7F, 0x14,
@ -162,7 +162,8 @@ const uint8_t gFont5x7[5 * 16 * 6] =
0x00, 0x00, 0x60, 0x60, 0x00,
0x20, 0x10, 0x08, 0x04, 0x02,
0x3E, 0x51, 0x49, 0x45, 0x3E,
// 0x3E, 0x51, 0x49, 0x45, 0x3E, // '0'
0x3E, 0x41, 0x41, 0x41, 0x3E, // '0'
0x00, 0x42, 0x7F, 0x40, 0x00,
0x72, 0x49, 0x49, 0x49, 0x46,
0x21, 0x41, 0x49, 0x4D, 0x33,
@ -179,8 +180,8 @@ const uint8_t gFont5x7[5 * 16 * 6] =
0x00, 0x41, 0x22, 0x14, 0x08,
0x02, 0x01, 0x59, 0x09, 0x06,
0x3E, 0x41, 0x5D, 0x59, 0x4E,
0x7C, 0x12, 0x11, 0x12, 0x7C, // #65 'A'
0x3E, 0x41, 0x5D, 0x59, 0x4E, // '@'
0x7C, 0x12, 0x11, 0x12, 0x7C, // 'A'
0x7F, 0x49, 0x49, 0x49, 0x36,
0x3E, 0x41, 0x41, 0x41, 0x22,
0x7F, 0x41, 0x41, 0x41, 0x3E,