diff --git a/main.c b/main.c index 54385b3..ca74b48 100644 --- a/main.c +++ b/main.c @@ -223,6 +223,33 @@ static void leds_set(void) } } +/** @brief set the time on the LEDs + * @details this will have an animation where time is incremented until it reaches the provided time + * @param[in] time time to set + */ +static void clock_set_time(uint32_t time) +{ + static uint32_t display_time = 0; // the time to display + while (display_time