 #define ERROR -1
 
 int sleepms = 5;
+byte iobyte = 128;
 byte bytebits[8];
 Servo servo;
 

}

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;
	}
	digitalWrite(LED, HIGH);
	iobyte=bytebitsGet();
	Serial.print("byte read: ");
	Serial.println(iobyte);
