I am trying to do this tutorial: http://www.instructables.com/id/Pulse-Sensor-With-Bluetooth-and-Arduino/
which basically creates an app that shows you your heart rate through a sensor that is hooked up with the arduino and BLE chip. I am having trouble uploading the code to the arduino and I am getting this error message:
Arduino: 1.8.4 (Windows 10), Board: "Arduino/Genuino Uno"
C:\Users\Wicke\AppData\Local\Temp\Temp1_FRAW610IC5CA2WA.zip\PulseSensor_wt_BT\Interrupt\Interrupt.ino: In function 'void __vector_7()':
Interrupt:29: error: 'Signal' was not declared in this scope
Signal = analogRead(pulsePin); // read the Pulse Sensor
^
Interrupt:29: error: 'pulsePin' was not declared in this scope
Signal = analogRead(pulsePin); // read the Pulse Sensor
^
Interrupt:34: error: 'IBI' was not declared in this scope
if(Signal < thresh && N > (IBI/5)*3){ // avoid dichrotic noise by waiting 3/5 of last IBI
^
Interrupt:47: error: 'Pulse' was not declared in this scope
if ( (Signal > thresh) && (Pulse == false) && (N > (IBI/5)*3) ){
^
Interrupt:47: error: 'IBI' was not declared in this scope
if ( (Signal > thresh) && (Pulse == false) && (N > (IBI/5)*3) ){
^
Interrupt:79: error: 'BPM' was not declared in this scope
BPM = 60000/runningTotal; // how many beats can fit into a minute? that's BPM!
^
Interrupt:80: error: 'QS' was not declared in this scope
QS = true; // set Quantified Self flag
^
Interrupt:85: error: 'Pulse' was not declared in this scope
if (Signal < thresh && Pulse == true){ // when the values are going down, the beat is over
^
exit status 1
'Signal' was not declared in this scope
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
if anyone can help, I appreciate it