Hi - initially we had an 'open' HRM algorithm which did detect individual beats and sent an event for each beat, but it didn't deal very well with physical movement of the watch and eventually (early 2023) I caved in and used the binary-only algorithm provided by the sensor manufacturer which does a better job. That algorithm appears to use a frequency-based method which means you can't just ask it when a heart beat is.
So I'm afraid now, you only have two choices:
Make a special build with the relevant lines changed to enable the open HRM monitor
Make your own HRM beat detection using the raw values you get
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.
Hi - initially we had an 'open' HRM algorithm which did detect individual beats and sent an event for each beat, but it didn't deal very well with physical movement of the watch and eventually (early 2023) I caved in and used the binary-only algorithm provided by the sensor manufacturer which does a better job. That algorithm appears to use a frequency-based method which means you can't just ask it when a heart beat is.
So I'm afraid now, you only have two choices: