Module mappings

Source
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§

DigitBits
Maps a digit to its closest possible representation on a 7-segment display.
LoCharBits
Maps a character to its closest possible representation on a 7-segment display.
SegmentBits
Maps the segment from the device to its bit.
SpecialCharBits
Maps a character to its closest possible representation on a 7-segment display.
UpCharBits
Maps a character to its closest possible representation on a 7-segment display.
UpsideDownDigitBits
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. See from_ascii_byte for more information.
mirror
Mirrors the segments of a byte.