SetCommPort 5,br115200 loop: Joystick 1,x,y,z,t a = round(x*255) b = round(y*255) c = round(z*255) serialout "!~#}",a,b,c,t goto loop: