Update app.js

master
Andy Smy 2025-05-11 15:19:04 +01:00 committed by GitHub
parent 0bd8fb9efa
commit d30d4eb2ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -238,11 +238,13 @@ function startPlay(resume) {
Bangle.on('twist', function() {
if(!processing) {
processing = true;
console.log("Twist", heartRate);
console.log("Twist", heartRate, battery);
countDown(0);
}
});
Bangle.on('HRM', function(h) {updateHeartRate(h)});
Bangle.on('HRM', function() {
updateHeartRate(h);
});
}
}