7 segment display

Not if the servo is in motion. Because once the pushbutton or switch change states to 1 than the i (indicating the number needing to be shown on the seven segment) will move up a number. When this happens the program looks only into the loop of the if statement which says to turn the servo and not the ii = 92 statement. Once the turn is over, the servo is back to 92 at rest position and the number has increased by one. Also, the segment may display the increased number after the button or switch has been hit since the turn does pass 92 once. However, it will only be for a split second.