mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
EHR: Removed Grove dependency
Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
@ -33,7 +33,7 @@ add_example(ES08ASample servo)
|
||||
add_example(GroveButtonSample grove)
|
||||
add_example(GroveButton_intrSample grove)
|
||||
add_example(Collision collision)
|
||||
add_example(GroveEHRSample groveehr)
|
||||
add_example(EHRSample ehr)
|
||||
add_example(Emg emg)
|
||||
add_example(Gsr gsr)
|
||||
add_example(GroveLed_multiSample grove)
|
||||
|
@ -23,12 +23,12 @@
|
||||
*/
|
||||
|
||||
//NOT TESTED!!!
|
||||
public class GroveEHRSample {
|
||||
public class EHRSample {
|
||||
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
// ! [Interesting]
|
||||
// Instantiate a Grove Ear-clip Heart Rate sensor on digital pin D2
|
||||
upm_groveehr.GroveEHR heart = new upm_groveehr.GroveEHR(2);
|
||||
// Instantiate a Ear-clip Heart Rate sensor on digital pin D2
|
||||
upm_ehr.EHR heart = new upm_ehr.EHR(2);
|
||||
|
||||
// set the beat counter to 0, init the clock and start counting beats
|
||||
heart.clearBeatCounter();
|
Reference in New Issue
Block a user