tm1637_embedded_hal::mappings

Function mirror

source
pub const fn mirror(byte: u8) -> u8
Available on crate feature mappings only.
Expand description

Mirrors the segments of a byte.

Swaps the segments:

  • B and F
  • C and E