Do you have a Bangle.js 1? As I'd said above it's very tricky with a v2, even to get inside - but on the v1 there is some help at http://www.espruino.com/Bangle.js+Technical#heart-rate-monitor-pcb
@Gordon started
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.
Do you have a Bangle.js 1? As I'd said above it's very tricky with a v2, even to get inside - but on the v1 there is some help at http://www.espruino.com/Bangle.js+Technical#heart-rate-monitor-pcb