I think you have progress... starting with this:
and now this...
[edit] Adjust the trim pot to any clap makes the sensor rise above 200. [/edit]
You will need to indicate the clap has gone above the threashold with a flag (state indicator)...
if (sens >threshold) {
clapFlag = 1;
}
and then test clapFlag along with location of the servo/light
if (clapFlag && s.read() == 180 || s.read == 0) { // test flag and servo location
s.write(180-s.read()); // move servo to the opposite side
delay(250); // give the servo time to move
clapFlag = 0; // clear the flag so it does not enter this condition until next clap
}