You can increase the HRM interval past the default (which I think is nearer 12Hz on Bangle.js 2) with Bangle.setOptions({hrmPollInterval:time_in_milliseconds}); (which you need to do before you turn the HRM on)
But the existing HRM algorithm won't work at that speed so you'll have to work yourself from the raw data - and you'll have to make sure you can handle the data coming in fast enough, as well as possibly configuring the HRM such that it can go fast enough.
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.
You can increase the HRM interval past the default (which I think is nearer 12Hz on Bangle.js 2) with
Bangle.setOptions({hrmPollInterval:time_in_milliseconds});
(which you need to do before you turn the HRM on)But the existing HRM algorithm won't work at that speed so you'll have to work yourself from the raw data - and you'll have to make sure you can handle the data coming in fast enough, as well as possibly configuring the HRM such that it can go fast enough.
There's an example of sampling at 200Hz in the Flash Counter app: https://banglejs.com/apps/?id=flashcount
Code that does it at:
https://github.com/espruino/BangleApps/blob/d6d03e1aac0a9de5a183cf74527e0ee04d530bc1/apps/flashcount/app.js#L4