diff --git a/wordclock.lua b/wordclock.lua index b2adaf1..6a35939 100755 --- a/wordclock.lua +++ b/wordclock.lua @@ -1,10 +1,11 @@ -- Revese engeeniered code of display_wc_ger.c by Vlad Tepesch -- See https://www.mikrocontroller.net/articles/Word_Clock_Variante_1#Download --- TODO: Also add the twenty as return value! - --- Return the leds to use --- the granuality is 5 minutes +-- @fn display_timestat +-- Return the leds to use the granuality is 5 minutes +-- @param hours the current hours (0-23) +-- @param minutes the current minute (0-59) +-- @param longmode (optional parameter) 0: no long mode, 1: long mode (itis will be set) function display_timestat(hours, minutes, longmode) if (longmode == nil) then longmode=0