I think your error is in your endstop wiring to your electronics, based solely on the fact that triggering an endstop messes with your electronics. . Endstop wires need to be between signal and ground.
↧