heart rate mesuarement

Dependencies:   mbed USBDevice

Files at this revision

API Documentation at this revision

Comitter:
zmoutaou
Date:
Mon Jan 27 10:43:23 2020 +0000
Parent:
2:515e6791dfe2
Commit message:
Pulse sensor with interruption every 1 us

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 515e6791dfe2 -r 89dc4a1464e3 main.cpp
--- a/main.cpp	Fri Jan 24 11:16:30 2020 +0000
+++ b/main.cpp	Mon Jan 27 10:43:23 2020 +0000
@@ -127,7 +127,7 @@
         {                      
 
         QS = false;  
-        //pc.printf("%d \n ",BPM);                   // reset the Quantified Self flag for next time    
+        pc.printf("%d \n ",BPM);                   // reset the Quantified Self flag for next time    
      }
      wait_ms(20);
     }