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
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.