Function was Not Declared in Scope

Code Attached

You are more likely to get help if you put your code in the actual post, in the tags provided.

If it's too long, then attach it as an .ino file, but don't expect folk to dive off to other places to get your code.

how to attach.GIF

how to attach.GIF

Link for PasteBin Attached
// Temperature Library#include <OneWire.h>#include <DallasTemperature.h> -
// Temperature Library#include <OneWire.h>#include <DallasTemperature.h> -

I hope you posted a better description of your problem in the rubbish bin with your code. What you posted here wasted your time, and ours.

Hello everyone , I want to write code to measure ECG , BPM and Temperature Using Arduino Mega . But Im stuck. Since Im getting a error while Compling It says Function was not declared in this scope. Please Help me Fix this . Attaching .ino file . Thank you

sketch_mar27a.ino (10.2 KB)

Show the error too

You need to close HeratRate before you start to define interruptSetup

int HeartRate()
  if (QS == true) // A Heartbeat Was Found
      // BPM and IBI have been Determined
      // Quantified Self "QS" true when arduino finds a heartbeat
      serialOutputWhenBeatHappens(); // A Beat Happened, Output that to serial.     
      QS = false; // reset the Quantified Self flag for next time    

  void interruptSetup()