The arduino reads in a value of 0-1023 and I "remap" those values to be 0-511 so they can be sent as 10bit binary digits through the xbee. (Therefore 0=0, 512=256, 1023=511) I can do this again so that its remapped, for example, from 0-14 so there is only 15 different positions the arm can be in.
Chris