7-segment LED symbols may be quickly designed with a Text Editor using the characters ' ' (space), '|' (vertical bar, the bitwise OR operator in C), and '_' (underscore). On the first line we use one underscore (preceded by a space) for segment A. One the 2nd line we use one vertical bar, one underscore, and another vertical bar for segments F, G, and B, respectively. On the 3rd line we once again have one vertical bar, one underscore, and another vertical bar, but this time for segments E, D, and C, respectively. We then replace segments that should be disabled with the space character.
Here we have all segments A-G enabled:
Here we have all segments A-G enabled:
_
|_|
|_|
|_|
|_|
Some numbers:
 _ _
| _| _||_|
||_ _| |
| _| _||_|
||_ _| |
and some letters:
 _ _
|_|| || |_|
| ||_||_ | |
|_|| || |_|
| ||_||_ | |
It works well if you're only interested in a limited number of symbols.
RSS Feed