i want to send the state of a two axis joystick and two buttons from a controller over Serial using two XBee modules. JoystickX, JoystickY, button1 and button2. I get values for the joystick that range from two to three digit integers (say values of about 70 - 200) and the buttons are single digit integers, 0 and 1, showing the button on and off. I thought I'd convert the integers to HEX, send them over the serial connection, then convert back to int on the other side. the position of the values relative to a final println determine what the value represents. does it make sense to do it this way? Any suggestion?