02-09-2021 00:19
02-09-2021 00:19
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 Answer02-11-2021 03:18
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.
02-11-2021 03:18
Thanks, I've submitted a fix for the documentation. The sensor frequency for the HRM is 1hz, so that might explain it.