From fd3401bd2372e4c522162546708d2dbf938f4927 Mon Sep 17 00:00:00 2001 From: David Peer Date: Sat, 26 Feb 2022 11:05:39 +0100 Subject: [PATCH] Updated readme --- apps/widtmr/README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/widtmr/README.md b/apps/widtmr/README.md index c4304bd81..2ffbfc8cf 100644 --- a/apps/widtmr/README.md +++ b/apps/widtmr/README.md @@ -1,10 +1,9 @@ # Timer Widget This is a fork of the Chrono Widget, but implements a -simpler UI which to be able to set a timer faster with -less interaction. Additionally, it exposes some functions -that can be used by other apps or clocks to easily -implement a timer. It is used e.g. by lcars or notanalog. +simpler UI. Additionally, it exposes functions for other +apps or clocks such that they can easily implement a timer. +Currently, it is used by lcars and notanalog. # Overview If you open the app, you can simply control the timer @@ -15,7 +14,7 @@ started / stopped. ![](description.png) -# Library for other Apps +# Lib Different functions are exposed to integrate a timer into your own app. @@ -35,7 +34,8 @@ the touch event is fired: Bangle.loadWidgets(); ... Bangle.on('touch', function(btn, e){ - // Set to zero if alarm was disabled before + // Set to zero if alarm was disabled before. Otherwise + // it starts from the last setting made by the user. if(!isAlarmEnabled()){ WIDGETS["widtmr"].setTime(0); } @@ -54,10 +54,10 @@ Bangle.on('touch', function(btn, e){ } ``` -You can find even more examples in the lcars or notanalog app ... +You can find implementations and usages in the lcars or notanalog app. + # Creator - [David Peer](https://github.com/peerdavid)