     ByteReceived = Serial.read();
     Serial.print(ByteReceived);
   }
-  myservo.write(ByteReceived);
+  throttle.write(ByteReceived);
   delay(1000);
   ByteReceived = 0;
 }

// INCLUDES
#include <Servo.h>


Servo myservo;  // create servo object to control a servo

int pos = 90;    // variable to store the servo position
int ByteReceived;



void setup() {
  throttle.attach(9);  // attaches the servo on pin 9 to the servo object
  Serial.begin(9600);
  throttle.write(pos);
}


