From 0ec3e0c1597aa46dc2aa102ff0583a2460210311 Mon Sep 17 00:00:00 2001 From: ollo Date: Tue, 28 Feb 2017 18:24:38 +0100 Subject: [PATCH] More documentation of function --- wordclock.lua | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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