End stop pins to input