Sounds like you shorted the +5V pin to the ground, and killed the Arduino's regulator. There is a +, - and S pin on each endstop connector. If you use switches and connect them the wrong way around so that + and - are connected, you will fry your Arduino's regulator, so it won't work.
↧