More documentation of function
This commit is contained in:
parent
e42edd7ccc
commit
0ec3e0c159
@ -1,10 +1,11 @@
|
|||||||
-- Revese engeeniered code of display_wc_ger.c by Vlad Tepesch
|
-- Revese engeeniered code of display_wc_ger.c by Vlad Tepesch
|
||||||
-- See https://www.mikrocontroller.net/articles/Word_Clock_Variante_1#Download
|
-- See https://www.mikrocontroller.net/articles/Word_Clock_Variante_1#Download
|
||||||
|
|
||||||
-- TODO: Also add the twenty as return value!
|
-- @fn display_timestat
|
||||||
|
-- Return the leds to use the granuality is 5 minutes
|
||||||
-- Return the leds to use
|
-- @param hours the current hours (0-23)
|
||||||
-- the granuality is 5 minutes
|
-- @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)
|
function display_timestat(hours, minutes, longmode)
|
||||||
if (longmode == nil) then
|
if (longmode == nil) then
|
||||||
longmode=0
|
longmode=0
|
||||||
|
Loading…
Reference in New Issue
Block a user