Arduino solar tracker

i have figure out the program, i think? I do not have a motor handy, or a TIP120 circut to drive the motor.

int value1 = 0; //analog reading from light sensor
int value = 0; // variable to keep the actual value for PWM

int threshold = 512;
int motorToTurnSolarPanel = 11; //with a tip120 transitor circut to drive the motor, using PWM

void setup(){
Serial.begin(9600);//set the baud rate

Serial.print(analogRead(1));
value1 = analogRead(1);

}
void loop() {
for(value = 0 ; value <= 80; value+=5) // fade in (from min to max)
if (value > threshold) digitalWrite(motorToTurnSolarPanel, LOW); else analogWrite(motorToTurnSolarPanel, value);//primary command to move the motor

Serial.print(analogRead(1));

}