You are on page 1of 1

const

int
ecgPin
= A0;

int upperThreshold = 100;

int lowerThreshold = 0;

int ecgOffset = 400;

float beatsPerMinute = 0.0;

bool alreadyPeaked = false;

unsigned long firstPeakTime = 0;

unsigned long secondPeakTime = 0;

unsigned long rrInterval = 0;

You might also like