-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to simply get a numeric BPM #29
Comments
There is a way to just get BPM number. a call to getBeatsPerMinute() will return the latest BPM value (int). You can simply comment out the call to pulseSensor.outputBeat() and just do you own thing instead. |
SparkMike77, This is a screengrab of it working correctly: |
Mike, |
Thanks Guys, I had completely forgotten to check back and was hammering on my own library (really poorly). This looks exactly like what I need! |
Is there somewhere that I can see the code for the function getBeatsPerMinute() Thanks! |
The actual function is pretty simple, and it's on line 87 here The function that determines BPM is called processLatestSample, on line 122 of the same file. |
Thank you, Joel. I appreciate this. -Shawn Haarer
…On Wed, Jul 18, 2018 at 10:46 AM, Joel Murphy ***@***.***> wrote:
The actual function is pretty simple, and it's on line 87 here
https://github.com/WorldFamousElectronics/PulseSensorPlayground/blob/
master/src/utility/PulseSensor.cpp
The function that determines BPM is called processLatestSample, on line
122 of the same file.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#29 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Ak6kbCR5Q7ZAbQcx6sADxHgspVH9OPlhks5uH1hzgaJpZM4RKrmC>
.
|
I'm looking for how to just pull the BPM number, not plot it on a graph but all the BPM sketches have a graphing output.
I'm assuming instead of calling pulseSensor.outputBeat() there's a way just to call for the numeric BPM?
The text was updated successfully, but these errors were encountered: