forked from FOSS/BangleApps
Buzz on every measurement and longer if all are done
parent
8518e7623f
commit
4cff0792f6
|
@ -1,2 +1,3 @@
|
|||
0.01: New App!
|
||||
0.02: Write available data on reset or kill
|
||||
0.03: Buzz short on every finished measurement and longer if all are done
|
||||
|
|
|
@ -75,7 +75,6 @@ function write(){
|
|||
data += "," + rrMax + "," + rrMin + ","+rrNumberOfValues;
|
||||
data += "\n";
|
||||
file.write(data);
|
||||
Bangle.buzz(500);
|
||||
}
|
||||
|
||||
function onBtHrm(e) {
|
||||
|
@ -87,6 +86,11 @@ function onBtHrm(e) {
|
|||
if (currentSlot <= hrvSlots.length && (Date.now() - startingTime) > (hrvSlots[currentSlot] * 1000) && !hrvValues[hrvSlots[currentSlot]]){
|
||||
hrvValues[hrvSlots[currentSlot]] = hrv;
|
||||
currentSlot++;
|
||||
if (currentSlot == hrvSlots.length){
|
||||
Bangle.buzz(500)
|
||||
} else {
|
||||
Bangle.buzz(50);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
"id": "bthrv",
|
||||
"name": "Bluetooth Heart Rate variance calculator",
|
||||
"shortName": "BT HRV",
|
||||
"version": "0.02",
|
||||
"version": "0.03",
|
||||
"description": "Calculates HRV from a a BT HRM with interval data",
|
||||
"icon": "app.png",
|
||||
"type": "app",
|
||||
|
|
Loading…
Reference in New Issue