"Constant Image Height" screen masking control code opinions

JHauser:
I assuming the discrepancy is when the screen is fully closed and the limit switch is pressed and the encoder is being reset to 0, the encoder doesn’t start it’s actual count until it moves off the switch when it moves in the opposite direction.

You could write a short program to test that hypothesis.

...R