Most recent activity
-
I'm trying to implement some type of wear detection by pulling the environment data. Maybe I'm misunderstanding how the watch does it. Do I have to rely on the other sensor to detect if something is close to the watch? I cannot replicate getting a one. Only zeros when I run the code above. I can get numbers above zero by shining my phone's flashlight, but this isn't useful for my use case.
I've been looking at this code snippet from the source code. https://github.com/espruino/Espruino/blob/master/libs/misc/hrm_vc31.c#L376 -
I've been doing some quick tests on my Bangle running 2v19. However, I'm not sure what the output of this event is supposed to mean. All I get when I run this is zeros. Is this expected functionality?
Bangle.setHRMPower(1); Bangle.setOptions({hrmPushEnv:true}); Bangle.on('HRM-env', function(env) { console.log(env); });
I've been wanting to increase the polling rate of the heart rate sensor but trying to increase the polling rate to 10ms results in the timing between the readings increasing and eventually the program will stop.
Here is the reference of the options to increase the polling rate and the code we are running.
http://www.espruino.com/ReferenceBANGLEJS2#l_Bangle_setOptions