Last active
August 29, 2015 14:02
-
-
Save joegle/5af13d47ac6f98ebf08a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | |
} | |
delay(20); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment