 Servo servo;
 
 void setup() {
-	pinMode(LED, OUTPUT);
 	pinMode(BTX, OUTPUT);
 	pinMode(BRX, INPUT);
 	servo.attach(SRV);

		while((frame = getFrame(BRX)) >= CARRIER) {
			if (frame == NOFRAME) {
				if (Serial.available() > 0) {
					digitalWrite(LED, HIGH);
					frame = Serial.parseInt();
					digitalWrite(LED, LOW);
					return frame;
				}
			}


#include <Servo.h> 

#define BTX 13
#define BRX 8
#define SRV 7
#define CARRIER 2
