Skip to content

Commit

Permalink
Tried putting HRM into sports mode - does not seem to help at all
Browse files Browse the repository at this point in the history
  • Loading branch information
jones139 committed Dec 27, 2023
1 parent 67a7333 commit 1e6b0b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/openseizure/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,10 @@ function toByteArray(value, numberOfBytes, isSigned) {

// Initialise the HRM
Bangle.setHRMPower(1);
Bangle.setOptions({
hrmSportMode: 1,
hrmGreenAdjust: true
});
Bangle.on('HRM', function(hrm) {
if (hrm.confidence > settings.HR_CONF_THRESH)
hrVal = hrm['bpm'];
Expand Down
Binary file added testing/hrm/BangleJS_HRM_walking.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1e6b0b4

Please sign in to comment.