Servo Sketch Help

Are you certain that what you have is a flame sensor?