Skip to content

Instantly share code, notes, and snippets.

@joegle joegle/pulse-snippet.cpp
Last active Aug 29, 2015

What would you like to do?
void setup(){
Serial.begin(115200); // we agree to talk fast!
pinMode(blinkPin,OUTPUT); // pin that will blink to your heartbeat!
interruptSetup(); // sets up to read Pulse Sensor signal every 2mS
void loop(){
if (QS == true){
Serial.println(IBI); // milliseconds: '660\n'
QS = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.