Serial Port List:
Open Serial Port Number
Serial Read Output:
This will move

The Arduino code:
int incomingByte = 0;	// for incoming serial data

void setup()
{
	Serial.begin(9600); 
}

 void loop()
 {
   int r = analogRead(0);
   int w = r/8; // Want 0 to 127
   Serial.write(w);  
   delay(10);
 }