Need help with transmitting ints using cisceo xrf

Dear all

Lately I have been working on a pure arduino controlled quadcopter and have finsihed all the hardware. I am now having problems when transmitting my throttle values over xrf to control the quad. When I use the serial monitor to control the motors, it works fine. I can change throttle values and it works. However when I transmit these values over xrf, the brushless motors seem to start at 60% and go to 100% even though i am sending a throttle value of 0 (I am using mymotor.write(0);). I have attached my code if you guys wouldnt mind looking over it so that I can figure out my problem.

Many Thanks.

PS: the code attached is only to control the throttle, I have not added the pitch, roll and yaw logic to it or the gps or the gyro stabilization.

quadcopter_reviecer.ino.ino (1.34 KB)

quadcopter_controller.ino (1.1 KB)