STOPPING A SERVO

sarahisml:
yes, the code works fine in its original state. the problem rises when I start adding the code for servo motor. the servo does not stop when the PIR is at LOW state. it keeps moving.

Post the working "original state" program and the code that represents your best attempt to add the servo.

...R