tm1637_embedded_hal::mappings

Function mirror

Source
pub const fn mirror(byte: u8) -> u8
Expand description

Mirrors the segments of a byte.

Swaps the segments:

  • B and F
  • C and E