Servo

i want to stop the sevo at the angel where the sensor have high value ,so how should i stop the sevo at that angle ???

What sensor?
What servo?

i am making the fire detecting robot , but i m having problem to sensing the flame using flame sensor and also changing the direction of the robot …

Help us to help you by giving some details of the sensor (link to datasheet?) and the post the code you wrote so far....

When you say you're having a problem, what do you actually mean?