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

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

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()
{
  serialOutput();  
   
  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    
  }

  delay(20);
                            <<<<<<<<<<<<<<<<<<<<<<<<<<<<
  void interruptSetup()
  {