iam using heart rate sensor in my project to get digital pulses from patients. my problem is that how to process and calculate heart rate per minute from the pulses coming from sensor using PIC16F877A .so i want embedded C program code for the heart rate calculation