 unsigned int motorCtrlLast = 0;
 
 struct {
-	unsigned int servo[3]; // 0=roll, 1=height, 2=side
-	unsigned int motor; // servo position values
+	uint8_t servo[3]; // 0=roll, 1=height, 2=side
+	uint8_t motor; // servo position values
 }radioData;
 
 void setup() {


Servo servo[5]; // 4=motor, 0=left, 1=right=-left, 2=height-ctr, 3=side-ctr

//byte addresses[][6] = { "1Node","2Node" };
uint64_t readingPipe = 0xF0F0F0F0AA;
//bool radioNumber = 1; // radio ID
RF24 radio(CE_PIN, CSN_PIN);
unsigned int radioRead=0, servoWrite;


}

void loop() {

	radio.startListening();
	if (radio.available()) {
		radio.read(&radioData, sizeof(radioData));
	}

	if (millis() - servoWrite > 200) {
		Serial.println(radioData.motor);
		// MOTOR SERVO
		setServo(4, radioData.motor);
		setServo(0, radioData.servo[0]);
		setServo(1, 180-radioData.servo[0]);
		setServo(2, radioData.servo[1]);
		setServo(3, radioData.servo[2]);

		servoWrite = millis();
	}
}

void setServo(uint8_t id, uint8_t value) {
	if (value >= 0 && value <= 180) {
		servo[id].write(value)
	}
}
