The axis do not stop when the Max endstop switches are triggered, I have checked the wiring and the endstops with M119 command.
Any Ideas on how I can solve this, here is my code
Any Ideas on how I can solve this, here is my code