Create a heartRate variable. It'll store the heart rate from the heart rate sensor.

Make sure to assemble var heartRate; in your code.