Yes, you can do it - the standard heartbeat detector that's built in doesn't do this since it uses a autocorrelation approach, but you can still access the raw data and figure it out from there - although the data is very noisy whenever you move your hand so you'd have to put a lot of effort in to filter the data.
Of course you can get a decent idea very easily just by comparing the BPM values you'll get from the built in detector every few seconds and seeing if they change noticeably.
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.
Yes, you can do it - the standard heartbeat detector that's built in doesn't do this since it uses a autocorrelation approach, but you can still access the raw data and figure it out from there - although the data is very noisy whenever you move your hand so you'd have to put a lot of effort in to filter the data.
Of course you can get a decent idea very easily just by comparing the BPM values you'll get from the built in detector every few seconds and seeing if they change noticeably.