There is an IR led and sensor, so the HRM measures if the light from the IR LED is getting reflected back to it. It should be a pretty good indicator of whether the Bangle is against something - but obviously if the Bangle is on a hard surface it'll say it's worn when it's not
Which isWorn function are you referring to? the field in HRM-raw, or something else?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There is an IR led and sensor, so the HRM measures if the light from the IR LED is getting reflected back to it. It should be a pretty good indicator of whether the Bangle is against something - but obviously if the Bangle is on a hard surface it'll say it's worn when it's not
Which
isWorn
function are you referring to? the field in HRM-raw, or something else?