Update app.js
parent
ec1e97774c
commit
4e41be0ce5
|
|
@ -44,6 +44,8 @@ function toggleHRM() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// process heart rate monitor event
|
||||||
|
// each second (approx.)
|
||||||
function updateHeartRate(h) {
|
function updateHeartRate(h) {
|
||||||
heartRate = h.bpm || 0;
|
heartRate = h.bpm || 0;
|
||||||
//console.log("HRM", heartRate, (new Date()));
|
//console.log("HRM", heartRate, (new Date()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue