Unable to trigger endstops on Ramps 1.4

Hi guys, I hope this is in the right section because I think it is a programming fault.

The situation is this, I have built myself a small cnc pcb milling machine with the intention of running it on an Arduino Uno and cnc v3 shield. I have not been able to get the GRBL and UGS working on my setup (due to a faulty shield I think) so I decided to give Marlin a try on a spare Ramps 1.4 and Arduino Mega that I took off a 3d printer.
I have everything running as it should with 1 exception, I can't for the life in me get the end stops to trigger.

All my hardware is in great working order, I took it all off a 3d printer 2 weeks ago and haven't touched it since then.

I am using those usually red v1.3 mechanical 4 pin end stops. I have tried all possible wiring configs that can be done between to the switch and the Ramps board using 2 wires and I can't even get 1 triggered response when I use M119 in Pronterface. I have also changed the relevant code to match the wiring config and I still don't see a triggered response. Normal plain micro switches have also been tried (with and without capacitors) with the same results.

This is the final bit of my machine that I need to get working then I can start using it.

If anyone has any suggestions I will be happy to try them all.
Thanks in advance and keep making.
Dymoko

I'd write a tiny sketch for one switch and test/tweak it until I could read the end stop when I triggered it manually. Then worry about your proper controller code.