update arduino code
update the joystick logic