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

Documentation error on HR docs

The third example on the page https://dev.fitbit.com/build/guides/sensors/heart-rate/ has two errors:

The line that reads 

          [${hrm.readings.bpm[index]}]`

 should say heartRate instead of bpm

 

And the third from final line is missing a ) between } and ;

 

 

As a side note, I don't seem to be able to get any behavioral difference from changing the "frequency" parameter of HeartRateSensor - I get the "batch" number of readings after "batch" seconds no matter what values I use for frequency.

 

Thanks for reading.

Best Answer
0 Votes
1 REPLY 1

Thanks, I've submitted a fix for the documentation. The sensor frequency for the HRM is 1hz, so that might explain it.

Best Answer