tm1637_embedded_hal::mappings

Function flip

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

Flips the segments of a byte upside down.

Swaps the segments:

  • A and D
  • B and C
  • E and F