Problem with stopping a servo with Sensor Value

There's nothing in that for loop code fragment that changes FSRvalue. So the only way it will break is if FSRvalue is > 900 when the for loop starts (since for loops are blocking code). Is that what you intended?

Steve