Skip to content

Commit

Permalink
better readable single digit numbers for characters pybricks/support#…
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jul 23, 2024
1 parent 42f10e1 commit a450484
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions pybricks/common/pb_type_lightmatrix_fonts.c
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,11 @@ const uint8_t pb_font_5x5[95][5] = {
0b10000, // 🟨⬛⬛⬛⬛
},
{ // 0
0b01100, // ⬛🟨🟨
0b10010, // 🟨⬛⬛🟨⬛
0b10010, // 🟨⬛⬛🟨⬛
0b10010, // 🟨⬛⬛🟨⬛
0b01100, // ⬛🟨🟨
0b01110, // ⬛🟨🟨🟨
0b01010, // ⬛🟨⬛🟨⬛
0b01010, // ⬛🟨⬛🟨⬛
0b01010, // ⬛🟨⬛🟨⬛
0b01110, // ⬛🟨🟨🟨
},
{ // 1
0b00100, // ⬛⬛🟨⬛⬛
Expand All @@ -210,60 +210,60 @@ const uint8_t pb_font_5x5[95][5] = {
0b01110, // ⬛🟨🟨🟨⬛
},
{ // 2
0b11100, // 🟨🟨🟨
0b01110, // 🟨🟨🟨⬛
0b00010, // ⬛⬛⬛🟨⬛
0b01100, // ⬛🟨🟨
0b10000, // 🟨⬛⬛⬛⬛
0b11110, // 🟨🟨🟨🟨⬛
0b01110, // ⬛🟨🟨🟨
0b01000, // ⬛🟨⬛⬛⬛
0b01110, // 🟨🟨🟨⬛
},
{ // 3
0b11110, // 🟨🟨🟨🟨⬛
0b01110, // 🟨🟨🟨⬛
0b00010, // ⬛⬛⬛🟨⬛
0b00100, // ⬛⬛🟨⬛
0b10010, // 🟨⬛⬛🟨⬛
0b01100, // ⬛🟨🟨
0b01110, // ⬛🟨🟨🟨
0b00010, // ⬛⬛🟨⬛
0b01110, // ⬛🟨🟨🟨
},
{ // 4
0b00110, // ⬛⬛🟨🟨⬛
0b01010, // ⬛🟨⬛🟨⬛
0b10010, // 🟨⬛⬛🟨⬛
0b11111, // 🟨🟨🟨🟨🟨
0b01010, // ⬛🟨⬛🟨⬛
0b01110, // ⬛🟨🟨🟨⬛
0b00010, // ⬛⬛⬛🟨⬛
0b00010, // ⬛⬛⬛🟨⬛
},
{ // 5
0b11111, // 🟨🟨🟨🟨🟨
0b10000, // 🟨⬛⬛⬛⬛
0b11110, // 🟨🟨🟨🟨⬛
0b00001, // ⬛⬛⬛⬛🟨
0b11110, // 🟨🟨🟨🟨⬛
0b01110, // 🟨🟨🟨
0b01000, // ⬛🟨⬛⬛⬛
0b01110, // 🟨🟨🟨⬛
0b00010, // ⬛⬛⬛🟨⬛
0b01110, // 🟨🟨🟨⬛
},
{ // 6
0b00010, // ⬛⬛⬛🟨⬛
0b00100, // ⬛⬛🟨⬛⬛
0b01110, // ⬛🟨🟨🟨⬛
0b10001, // 🟨⬛⬛⬛🟨
0b01000, // ⬛🟨⬛⬛⬛
0b01110, // ⬛🟨🟨🟨⬛
0b01010, // ⬛🟨⬛🟨⬛
0b01110, // ⬛🟨🟨🟨⬛
},
{ // 7
0b11111, // 🟨🟨🟨🟨🟨
0b01110, // 🟨🟨🟨
0b00010, // ⬛⬛⬛🟨⬛
0b00100, // ⬛⬛🟨⬛⬛
0b01000, // ⬛🟨⬛⬛⬛
0b10000, // 🟨⬛⬛⬛⬛
0b00100, // ⬛⬛🟨⬛⬛
0b00100, // ⬛⬛🟨⬛⬛
},
{ // 8
0b01110, // ⬛🟨🟨🟨⬛
0b10001, // 🟨⬛⬛⬛🟨
0b01010, // ⬛🟨⬛🟨⬛
0b01110, // ⬛🟨🟨🟨⬛
0b10001, // 🟨⬛⬛⬛🟨
0b01010, // ⬛🟨⬛🟨⬛
0b01110, // ⬛🟨🟨🟨⬛
},
{ // 9
0b01110, // ⬛🟨🟨🟨⬛
0b10001, // 🟨⬛⬛⬛🟨
0b01010, // ⬛🟨⬛🟨⬛
0b01110, // ⬛🟨🟨🟨⬛
0b00010, // ⬛⬛⬛🟨⬛
0b01110, // ⬛🟨🟨🟨⬛
0b00100, // ⬛⬛🟨⬛⬛
0b01000, // ⬛🟨⬛⬛⬛
},
{ // :
0b00000, // ⬛⬛⬛⬛⬛
Expand Down

0 comments on commit a450484

Please sign in to comment.