More documentation of function

This commit is contained in:
ollo 2017-02-28 18:24:38 +01:00
parent e42edd7ccc
commit 0ec3e0c159

View File

@ -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