From f9ed954f5eb50469c7a9d7473538e2ec90c1ae42 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Sat, 15 Jun 2024 00:21:48 +0200 Subject: [PATCH] [] sixths: update documentation, update version. --- apps/sixths/README.md | 33 +++++++++++++++++++++++++++------ apps/sixths/sixths.app.js | 4 ++-- 2 files changed, 29 insertions(+), 8 deletions(-) diff --git a/apps/sixths/README.md b/apps/sixths/README.md index e738249ad..1998d3d14 100644 --- a/apps/sixths/README.md +++ b/apps/sixths/README.md @@ -24,17 +24,35 @@ minutes, real distance will be usually higher than approximation. Useful gestures: -F -- disable GPS. -G -- enable GPS for 4 hours in low power mode. -N -- take a note and write it to the log. -S -- enable GPS for 30 minutes in high power mode. + B -- "Battery", show/buzz battery info +D -- "Down", previous waypoint +F -- "oFf", disable GPS. +G -- "Gps", enable GPS for 4 hours in low power mode. +I -- "Info", toggle info display + L -- "aLtimeter", load altimeter app +M -- "Mark", create mark from current position +N -- "Note", take a note and write it to the log. + O -- "Orloj", run orloj app + R -- "Run", run "runplus" app +S -- "Speed", enable GPS for 30 minutes in high power mode. + T -- "Time", buzz current time +U -- "Up", next waypoint +Y -- "compass", reset compass When application detects watch is being worn, it will use vibrations to communicate back to the user. +B -- battery low. E -- acknowledge, gesture understood. T -- start of new hour. +Three colored dots may appear on display. North is on the 12 o'clock +position (top of the display). + +red: this is direction to the waypoint. +green: this is direction you are moving into, according to GPS. +blue: this is direction top of watch faces, according to the compass. + Written by: [Pavel Machek](https://github.com/pavelmachek) ## Future Development @@ -55,6 +73,9 @@ Todo: *) only turn on compass when needed -*) only warn about battery low when it crosses thresholds, update battery low message. +*) only warn about battery low when it crosses thresholds, update +battery low message -*) rename "show" to something else -- it collides with built-in \ No newline at end of file +*) rename "show" to something else -- it collides with built-in + +*) adjust clock according to gps \ No newline at end of file diff --git a/apps/sixths/sixths.app.js b/apps/sixths/sixths.app.js index 24ea60657..7f71818d2 100644 --- a/apps/sixths/sixths.app.js +++ b/apps/sixths/sixths.app.js @@ -12,7 +12,7 @@ var buzz = "", /* Set this to transmit morse via vibrations */ inm = "", l = "", /* For incoming morse handling */ in_str = "", note = "(NOTEHERE)", - debug = "v1119", debug2 = "(otherdb)", debug3 = "(short)"; + debug = "v0.04.1", debug2 = "(otherdb)", debug3 = "(short)"; var mode = 0, mode_time = 0; // 0 .. normal, 1 .. note, 2.. mark name var disp_mode = 0; // 0 .. normal, 1 .. small time @@ -278,6 +278,7 @@ function inputHandler(s) { case 'M': mode = 2; show("M>", 10); cur_mark = markNew(); mode_time = getTime(); break; case 'N': mode = 1; show(">", 10); mode_time = getTime(); break; case 'O': aload("orloj.app.js"); break; + case 'R': aload("runplus.app.js"); break; case 'S': gpsOn(); gps_limit = getTime() + 60*30; gps_speed_limit = gps_limit; show("GPS on", 3); break; case 'T': { s = ' T'; @@ -287,7 +288,6 @@ function inputHandler(s) { doBuzz(toMorse(s)); break; } - case 'R': aload("run.app.js"); break; case 'U': selectWP(-1); break; case 'Y': doBuzz(buzz); Bangle.resetCompass(); break; }