Interfacing Arduino with Pololu JRK21v3 help please!

You were defiantly right although at the time I didn't know what all that meant all I knew was that my JRK was moving, it was responding. This is what I have now with the help of a friend of mine. Use it if you like. As of right now this works with the use or a pot tapped in to the analog AO right now it moves but its kind of jerky. Maybe someone else can help figure this out. Please post your code if you figure something out.

#include <SoftwareSerial.h>
int AN0pin = A0;

SoftwareSerial mySerial(7, 8); // RX, TX

void setup()  
{
  // Open serial communications and wait for port to open:
  mySerial.begin(9600);
  Serial.begin(9600);
  //while (!Serial) {
   // ; // wait for serial port to connect. Needed for Leonardo only
  //}


  //Serial.println("11, 341");

  // set the data rate for the SoftwareSerial port
  //mySerial.begin(9600);
    loop();
}

void loop() // run over and over
{
  char Command[10]={0xAA,11,0x45,0xAF};
  int RawA2D;
  RawA2D=analogRead(AN0pin);
  while(1){  
    RawA2D=analogRead(AN0pin);
    
    Command[2]=0xC0 + ((char)RawA2D & 0x1F); 
    Command[3]=(char)((RawA2D>>5) & 0x7F);
    Serial.write(Command[2]);
    Serial.write(Command[3]);
    mySerial.write(Command[0]);
    mySerial.write(Command[1]);
    mySerial.write(Command[2]);
    mySerial.write(Command[3]);
  }
}