How to send measured data from the Arduino Uno using bluetooth module

I'm very to the following boards and am wondering if you guys could assist me in my project. I have to start a project which requires the Arduino Uno and the Raspberry Pi B+.
What I have to do is to use the Arduino uno board which is attached to a pulse sensor and send the following data to the Raspberry pi using a Bluetooth Module.

Is this the following code :
void loop() {
//Read from bluetooth and write to usb serial
if(bluetooth.available()) {
char toSend = (char)bluetooth.read();
Serial.print(toSend);
flashLED();
}

DO NOT CROSS POST!!!

Is this the following code :

Yes that is the code that follows that line.

I have to start a project which requires the Arduino Uno and the Raspberry Pi B+.

Sounds like homework.

All answers here:-
http://forum.arduino.cc/index.php?topic=275320.new#new