• It looks like the sensors on the watch can be read by code. The example says every second.
    Is it possible to read the sensors at a faster rate than this? Say if I wanted to read the accelerometer as fast as it can put out data for a period of time (4 seconds)? How about other sensors sampling rate?
    Thanks in advance for info.
    DrC

  • There is an event http://www.espruino.com/Reference#l_BangĀ­le_accel. It should call your callback for every new sensor value.

  • Sorry for the delay - but yes, it is normally possible. It depends on the sensor used. Accelerometer is 12.5 hz by default but it's actually possible to push that to 100Hz or more - sometimes you can do it via an API call, sometimes you may have to use functions like Bangle.accelWr to write directly to the sensor and reconfigure it the way you want

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Rate of sensor reading on Bangle.js 2 (sampling rate)

Posted by Avatar for drgeocrombie @drgeocrombie

Actions