Polar Chest strap Electrodes with AD8232

Hello everyone,

I'm working on my own project which is Arduino Heart Rate monitoring/ECG system, Here I'm using Polar Chest Strap Electrodes lLink to PolarStrap to get the impulse voltage from the Heart and using SparkFun (Link) Ad8232 Breakout board to sense my Heart Rate, I'm able to get the values from Regular Biomedical Sensor Pads Link but My aim is to get the values from Polar Chest Strap Electrodes.

Here's my code in the Arduino.

Demo Program for AD8232 Heart Rate sensor.
Casey Kuhns @ SparkFun Electronics

The AD8232 Heart Rate sensor is a low cost EKG/ECG sensor.  This example shows
how to create an ECG with real time display.  The display is using Processing.
This sketch is based heavily on the Graphing Tutorial provided in the Arduino
IDE. http://www.arduino.cc/en/Tutorial/Graph

This program requires a Processing sketch to view the data in real time.

Development environment specifics:
    IDE: Arduino 1.0.5
    Hardware Platform: Arduino Pro 3.3V/8MHz
    AD8232 Heart Monitor Version: 1.0

This code is beerware. If you see me (or any other SparkFun employee) at the
local pub, and you've found our code helpful, please buy us a round!

Distributed as-is; no warranty is given.

void setup() {
  // initialize the serial communication:
  pinMode(10, INPUT); // Setup for leads off detection LO +
  pinMode(11, INPUT); // Setup for leads off detection LO -


void loop() {
  if((digitalRead(10) == 1)||(digitalRead(11) == 1)){
    // send the value of analog input 0:
  //Wait for a bit to keep serial data from saturating

Please Help