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

Sensor data freezing

ANSWERED

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. 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

I'd recommend not using setInterval. Just use the batch readings from the sensor.

https://dev.fitbit.com/build/guides/sensors/accelerometer/#batched-readings

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

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
0 Votes