diff --git a/apps/stopwatch/A.jpg b/apps/stopwatch/A.jpg new file mode 100644 index 000000000..9155b9986 Binary files /dev/null and b/apps/stopwatch/A.jpg differ diff --git a/apps/stopwatch/B.jpg b/apps/stopwatch/B.jpg new file mode 100644 index 000000000..639ff5d42 Binary files /dev/null and b/apps/stopwatch/B.jpg differ diff --git a/apps/stopwatch/README.md b/apps/stopwatch/README.md index 1924cc343..30a9306d1 100644 --- a/apps/stopwatch/README.md +++ b/apps/stopwatch/README.md @@ -1,20 +1,33 @@ -# Stopwatch +# Stopwatch Touch A touch screen based stop watch for Bangle 2 ## Screenshots +![](screenshot1.png) +![](screenshot2.png) +![](screenshot3.png) + ## Features -* Feature A -* Feature B +* Attractive UI design +* Will run up to 99 hours +* Shows 10th of seconds up to 1 hour +* Start / Pause button +* Reset button ## Future features I'm keen to complete this project with * Ability to dismiss the app and leave it running in the background -* A small widget to show the elapsed time on the curren active clock +* A small widget to show the elapsed time on the current active clock * Laptimes, with a way to view all the laptimes on a scrollable screen +## One of these is a genuine Bangle Js 2 Open Source Smartwatch, the other isn't + +Which one is which ? + +![](A.jpg) +![](B.jpg) diff --git a/apps/stopwatch/screenshot1.png b/apps/stopwatch/screenshot1.png new file mode 100644 index 000000000..6d94ce05c Binary files /dev/null and b/apps/stopwatch/screenshot1.png differ diff --git a/apps/stopwatch/screenshot2.png b/apps/stopwatch/screenshot2.png new file mode 100644 index 000000000..0baa73331 Binary files /dev/null and b/apps/stopwatch/screenshot2.png differ diff --git a/apps/stopwatch/screenshot3.png b/apps/stopwatch/screenshot3.png new file mode 100644 index 000000000..1e7cfca58 Binary files /dev/null and b/apps/stopwatch/screenshot3.png differ diff --git a/apps/stopwatch/stopwatch.app.js b/apps/stopwatch/stopwatch.app.js index 1d6791b57..48d4f26ea 100644 --- a/apps/stopwatch/stopwatch.app.js +++ b/apps/stopwatch/stopwatch.app.js @@ -11,7 +11,6 @@ const iconScale = g.getWidth() / 178; // scale up/down based on Bangle 2 size // 24 pixel images, scale to watch // 1 bit optimal, image string, no E.toArrayBuffer() -//const reset_img_a = atob("GBiBAf////////////AAD+AAB+AAB+AAB+AAB+D/B+D/B+D/B+D/B+D/B+D/B+D/B+D/B+AAB+AAB+AAB+AAB/AAD////////////w=="); const pause_img = atob("GBiBAf////////////////wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP/wYP////////////////w=="); const play_img = atob("GBjBAP//AAAAAAAAAAAIAAAOAAAPgAAP4AAP+AAP/AAP/wAP/8AP//AP//gP//gP//AP/8AP/wAP/AAP+AAP4AAPgAAOAAAIAAAAAAAAAAA="); const reset_img = atob("GBiBAf////////////AAD+AAB+f/5+f/5+f/5+cA5+cA5+cA5+cA5+cA5+cA5+cA5+cA5+f/5+f/5+f/5+AAB/AAD////////////w=="); @@ -51,7 +50,7 @@ function drawButtons() { } function drawTime() { - //log_debug("drawTime()"); + log_debug("drawTime()"); let Tt = tCurrent-tTotal; let Ttxt = timeToText(Tt); @@ -128,7 +127,6 @@ function lapReset() { redrawButtons = true; Bangle.buzz(); tStart = tCurrent = tTotal = Date.now(); - log_debug("lapReset - clear screen"); g.clearRect(0,24,w,h); draw(); }