Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The heart rate sensor isn't logging if the heart rate isn't changing?

ANSWERED

Suppose I have the following code:

let heart = new HeartRateSensor();

heart.addEventListener("reading", () => {

  console.log("called")

})

heart.start()

It doesn't log anything if I don't to drag the rate slide bar in the simulator. I want the real device to read heart rate even if the rate isn't changing.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

It does.

Peter McLennan
Gondwana Software

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

It does.

Peter McLennan
Gondwana Software
Best Answer
0 Votes