. "s-=5 ;) upservo.write(uppos); delay(15); //this is where you should change val to something other than w, s, a, or d //however this is not nessicary with the above while loop. }4) A servo will only rotate a fixed amount of degrees." . . .