How to increase the precision of the heart beat sensor on a Samsung Gear S
How to increase the precision of the heart beat sensor on a Samsung Gear S
BY 13 Feb 2017Web Application Development
Hello, i’m trying to increase the precison of the heart rate values on a Samsung Gear S. I developed a web application that communicates with a PC thanks to a web socket.
I tried to use the function
parseFloat(interval).toPrecision(4)
or even
interval.toPrecision(4)
with no success. I used parseFloat because i need a Float data type for my communication.
Another strange and curious thing is that, apparently, the sensor can output only even values and not the odd ones. Is it possible that the precision cannot be increased (with the most accurate values something like 1.24 or 0.84)? How can i print also the odd numbers? Is it not possible for some reason?
I will post the entire Javascript source code below, thank you very much in advance.
How to increase the precision of the heart beat sensor on a Samsung Gear S
Hello, i’m trying to increase the precison of the heart rate values on a Samsung Gear S. I developed a web application that communicates with a PC thanks to a web socket.
I tried to use the function
or even
with no success. I used parseFloat because i need a Float data type for my communication.
Another strange and curious thing is that, apparently, the sensor can output only even values and not the odd ones. Is it possible that the precision cannot be increased (with the most accurate values something like 1.24 or 0.84)? How can i print also the odd numbers? Is it not possible for some reason?
I will post the entire Javascript source code below, thank you very much in advance.
Marco
BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio