Just be very very careful with those 4 pin endstops
If you directly plug those into the 3 pin endstops on ramps you end up shorting +5 to gnd and killing the mega
follow this wiring guide [forums.reprap.org]
If you directly plug those into the 3 pin endstops on ramps you end up shorting +5 to gnd and killing the mega
follow this wiring guide [forums.reprap.org]