 
 #define LED 13
 #define BTX 8
-#define BRX 7
+#define BRX 9
 #define CARRIER 2
 #define ERROR -1
 


void loop() {
	int frame,i;
	Serial.println("enter size:");
	while(Serial.available() <= 0);
	bytesbuf[0]=Serial.parseInt();

		while(Serial.available() <= 0);
		bytesbuf[++i]=Serial.parseInt();
	}
	digitalWrite(LED, LOW);
	digitalWrite(BTX, LOW);
	for(i=0; i<32; i++) {
		sendCarrier(BTX, sleepms);
