@emanuele said in Firmware configuration for endstop pin:
Like this?
Yes, that looks correct. You may need to switch the direction of the motor, using the M569 S parameter (0 or 1), so they work together in the same direction.
There is a (recently written) commissioning guide here: https://docs.duet3d.com/en/How_to_guides/Commissioning
Ian