 }
 
 void loop() {
-  	byte iobyte;
 	unsigned int angle;
 	int frame,i;
-	digitalWrite(LED, HIGH);
-	Serial.println("enver byte value:");
-	while(Serial.available() <= 0);
-	iobyte=Serial.parseInt();
 	digitalWrite(LED, LOW);
 	digitalWrite(BTX, LOW);
 	for(i=0; i<16; i++) {

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

#define ERROR -1

int sleepms = 5;
byte iobyte = 128;
byte bytebits[8];
Servo servo;

