mirror of https://github.com/espruino/BangleApps
sixths: start logging more data.
parent
543e51846b
commit
08870ec31a
|
@ -85,12 +85,10 @@ Todo:
|
|||
|
||||
*) +-3.5hPa 1012hPa
|
||||
|
||||
*) display gps alt + offset to baro
|
||||
?) display gps alt + offset to baro
|
||||
|
||||
*) start logging altitudes, baro pressure
|
||||
?) start logging baro pressure
|
||||
|
||||
*) compute climb/descent
|
||||
|
||||
*) switch to compensated compass
|
||||
|
||||
*) only accept gps fix when altitude matches baro
|
|
@ -582,10 +582,13 @@ function touchHandler(d) {
|
|||
}
|
||||
var lastHour = -1, lastMin = -1;
|
||||
function logstamp(s) {
|
||||
logfile.write("utime=" + getTime() + " " + s + "\n");
|
||||
logfile.write("utime=" + getTime() +
|
||||
" bele=" + cur_altitude +
|
||||
" batperc=" + E.getBattery() +
|
||||
" " + s + "\n");
|
||||
}
|
||||
function loggps(fix) {
|
||||
logfile.write(fix.lat + " " + fix.lon + " ");
|
||||
logfile.write(fix.lat + " " + fix.lon + " ele=" + fix.alt + " ");
|
||||
logstamp("");
|
||||
}
|
||||
function hourly() {
|
||||
|
|
Loading…
Reference in New Issue