Available on crate feature
mappings
only.Expand description
Mappings for 7-segment display characters.
This module is only available when the mappings
feature of this
library is activated.
Enums§
- Digit
Bits - Maps a digit to its closest possible representation on a 7-segment display.
- LoChar
Bits - Maps a character to its closest possible representation on a 7-segment display.
- Segment
Bits - Maps the segment from the device to its bit.
- Special
Char Bits - Maps a character to its closest possible representation on a 7-segment display.
- UpChar
Bits - Maps a character to its closest possible representation on a 7-segment display.
- Upside
Down Digit Bits - Maps a upside-down digit to its closest possible representation on a 7-segment display.
Functions§
- flip
- Flips the segments of a byte upside down.
- flip_
mirror - Flips and mirrors the segments of a byte.
- from_
ascii_ byte - Converts an
ASCII
byte to a 7-segment display byte. - from_
char - Converts a
char
to a 7-segment display byte. Seefrom_ascii_byte
for more information. - mirror
- Mirrors the segments of a byte.