pulse sensor library
Diff: PulseSensor.cpp
- Revision:
- 1:57f98c8ff4fd
- Parent:
- 0:e80a245c4d0d
--- a/PulseSensor.cpp Sun Feb 09 15:37:19 2014 +0000 +++ b/PulseSensor.cpp Wed Mar 25 19:06:19 2020 +0000 @@ -149,4 +149,12 @@ { return false; } +} + +int PulseSensor::get_BPM() +{ + if(_started) + { + return BPM; + } } \ No newline at end of file