do analogRead on one side, returns a 10 bit value.
Divide by 4 get an 8-bit value.
Serial.write that value to xbee.
On receive side, read the value from xbee.
analogWrite the 8-bit value on one of the pins 3,5,6,9,10,11 to output PWM to control motor speed.