trying to import data using arduino BT also having

Hi All

I am trying to transfer data using arduino BT. My Code is

const int FFTlen=256; // FFT length
int lead0 = 0; // select the input pin lead 0
int lead1 = 1; // select the input pin lead 1
int Fs = 500; // sampling rate
int dtime = 1000/(Fs); // delay time
byte lead0_val[FFTlen]; // variable to store one window
int lead1_val[FFTlen]; // variable to store one window

void setup()
{
// declare the ledPin as an OUTPUT:
Serial.begin(19200);
}

void loop()
{

int count=0;

for(count=0;count<FFTlen;count++)
{
int temp;
// read the value from the ADC:
temp= analogRead(lead0);
lead0_val[count]=map(temp,0,1023,0,255);
// read the value from the ADC:
//lead1_val[count] = map(analogRead(lead0), 0, 1023, 0, 255);
// delay according to sampling rate
delay(dtime);

Serial.write(lead0_val[count]); // can do single count
}
}

But i am having trouble in reading the data. even when the arduino BT is connected. the number of ports that appear is one. is that correct. Also i am keep on getting the port errors . Can anybody tell me the right set of action to run a code on arduino BT.

I also tried running the BLINK program, intially i was getting a port error and then when i selected the given port from the tools menu. the program was taking forever to load and was not successful in the end.

if somebody can specify the necessary course of steps to run the program in arduino BT. It will be big help

thanks in advance

regards

aditya