04-18-2021 00:10 - edited 04-18-2021 02:17
04-18-2021 00:10 - edited 04-18-2021 02:17
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.
04-30-2021 06:17
04-30-2021 06:17
I'd recommend not using setInterval. Just use the batch readings from the sensor.
https://dev.fitbit.com/build/guides/sensors/accelerometer/#batched-readings
04-30-2021 06:17
04-30-2021 06:17
I'd recommend not using setInterval. Just use the batch readings from the sensor.
https://dev.fitbit.com/build/guides/sensors/accelerometer/#batched-readings