EHR: Removed Grove dependency

Signed-off-by: Abhishek Malik <abhishek.malik@intel.com>
This commit is contained in:
Abhishek Malik
2016-09-13 11:10:13 -07:00
committed by Noel Eck
parent f9a36314fb
commit a08b8bbcb0
14 changed files with 61 additions and 61 deletions

View File

@ -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)

View File

@ -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();