Home
last modified time | relevance | path

Searched refs:myHeartRateSensor (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgroveehr.js30 var myHeartRateSensor = new heartRateSensor.GroveEHR(2); variable
33 myHeartRateSensor.clearBeatCounter();
34 myHeartRateSensor.initClock();
35 myHeartRateSensor.startBeatCounter();
41 millis = myHeartRateSensor.getMillis();
42 beats = myHeartRateSensor.beatCounter();
46 hr = myHeartRateSensor.heartRate();
57 myHeartRateSensor.stopBeatCounter();
58 myHeartRateSensor = null
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dgroveehr.py29 myHeartRateSensor = upmGroveehr.GroveEHR(2) variable
40 myHeartRateSensor.stopBeatCounter()
50 myHeartRateSensor.clearBeatCounter()
51 myHeartRateSensor.initClock()
52 myHeartRateSensor.startBeatCounter()
57 millis = myHeartRateSensor.getMillis()
58 beats = myHeartRateSensor.beatCounter()
62 fr = myHeartRateSensor.heartRate()