I am collecting some accelerometer and heart rate data and sending them to a server. As I print the sensor data in my console after a while they stay the same and freeze no matter if I take the Versa 3 off or move it around. What is happening? Is it running out of RAM? BTW I am using the setinterval function on all the sensors and sending them to the companion.
Answered! Go to the Best Answer.
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.
I'd recommend not using setInterval. Just use the batch readings from the sensor.
https://dev.fitbit.com/build/guides/sensors/accelerometer/#batched-readings
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.
I'd recommend not using setInterval. Just use the batch readings from the sensor.
https://dev.fitbit.com/build/guides/sensors/accelerometer/#batched-readings
Best Answer