mirror of https://github.com/espruino/BangleApps
[] sixths: update documentation, update version.
parent
f8505a9355
commit
f9ed954f5e
|
@ -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
|
||||
*) rename "show" to something else -- it collides with built-in
|
||||
|
||||
*) adjust clock according to gps
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue