 		}
 		bytebits[--i] = frame;
 	}
-	digitalWrite(LED, LOW);
 	Serial.print("byte read: ");
 	Serial.println(bytebitsGet());
 }

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


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