 }
 
 void sendByte(byte value) {
+	byte i;
+	digitalWrite(BTX, LOW);
+	for(i=0; i<16; i++) {
+		sendCarrier(BTX, sleepms);
+	}
 	bytebitsSet(value);
 	sendBytebits();
+	sendCarrier(BTX, sleepms);
+	sendCarrier(BTX, sleepms);
 }
 
 byte getByte() {
-	int frame,i;
+	byte frame,i;
 	i=8;
 	while (i) {
 		while((frame = getFrame(BRX)) >= CARRIER) {
+			if (frame == NOFRAME) {
+				if (Serial.available() > 0) {
+					digitalWrite(LED, HIGH);
+					frame = Serial.parseInt();
+					digitalWrite(LED, LOW);
+					return frame;
+				}
+			}
 			i=8;
 		}
 		bytebits[--i] = frame;

	pinMode(BRX, INPUT);
	servo.attach(SRV);
	Serial.begin(9600);
}

byte bytebitsGet() {

	}
}

byte readFrame(unsigned int cyclecount0, unsigned int cyclecount1)
{
	if (cyclecount0 < cyclecount1) {
		if (cyclecount1 < 2 * cyclecount0)
