Skip to content

Suggested 7-segment scheme for ASCII with unique patterns #3

Description

@irvdel

You may be interested in the 7-segment patterns for ASCII codes 32 to 126 at https://lingvo.org/sepseg/led7alfabeto.gif noting that no pattern is duplicated for the printable ASCII characters) and that readability is optimizated for lower case).

/* UniqueSevenSegmentASCII : DP_G_F_E_D_C_B_A /
const uint8_t UniqueSevenSegmentASCII[96] =
{
0b00000000, /
(space) /
0b00010010, /
! /
0b00100010, /
" /
0b00011101, /
# /
0b01001101, /
$ /
0b01011001, /
% /
0b01100011, /
& /
0b00100000, /
' /
0b00100001, /
( /
0b00000011, /
) /
0b01100010, /
* /
0b01000110, /
+ /
0b01000100, /
, /
0b01000000, /
- /
0b00000100, /
. /
0b01010010, /
/ /
0b00111111, /
0 /
0b00000110, /
1 /
0b01011011, /
2 /
0b01001111, /
3 /
0b01100110, /
4 /
0b01101101, /
5 /
0b01111101, /
6 /
0b00000111, /
7 /
0b01111111, /
8 /
0b01101111, /
9 /
0b00000101, /
: /
0b01000101, /
; /
0b01100001, /
< /
0b01000001, /
= /
0b01000011, /
> /
0b01010011, /
? /
0b01011101, /
@ /
0b01110111, /
A /
0b01101100, /
B /
0b00111001, /
C /
0b00001111, /
D /
0b01111001, /
E /
0b00110010, /
F /
0b00111101, /
G /
0b01110110, /
H /
0b00001001, /
I /
0b00011110, /
J /
0b01110101, /
K /
0b00111000, /
L /
0b01001001, /
M /
0b00110111, /
N /
0b00101111, /
O /
0b00010011, /
P /
0b01101011, /
Q /
0b00110001, /
R /
0b00101101, /
S /
0b00101011, /
T /
0b00111110, /
U /
0b00111010, /
V /
0b01111110, /
W /
0b00110110, /
X /
0b00101110, /
Y /
0b00011011, /
Z /
0b00011001, /
[ /
0b01100100, /
\ /
0b00001101, /
] /
0b00100011, /
^ /
0b00001000, /
_ /
0b00000010, /
` /
0b01011111, /
a /
0b01111100, /
b /
0b01011000, /
c /
0b01011110, /
d /
0b01111011, /
e /
0b01110001, /
f /
0b01100111, /
g /
0b01110100, /
h /
0b00010000, /
i /
0b00001100, /
j /
0b01110000, /
k /
0b00110000, /
l /
0b00010101, /
m /
0b01010100, /
n /
0b01011100, /
o /
0b01110011, /
p /
0b00100111, /
q /
0b01010000, /
r /
0b01001100, /
s /
0b01111000, /
t /
0b00011100, /
u /
0b00011000, /
v /
0b00101010, /
w /
0b00010100, /
x /
0b01101110, /
y /
0b01001000, /
z /
0b01101001, /
{ /
0b00100100, /
| /
0b01001011, /
} /
0b00000001, /
~ /
0b00000000, /
(del) */
};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions