[][src]Function tm1637_gpio_driver::fourdigit7segdis::display_stopwatch

pub fn display_stopwatch(
    adapter: &mut TM1637Adapter,
    sleep_fn: &dyn Fn(),
    to: u16,
    blink: bool
)

Starts a stopwatch aka counter from 0 to 9999. You need to provide a sleep_fn that waits 1s (for stopwatch).