Johnny010:
Sounds like a grounding issue. Are all pins grounded or pulled high? The reset pin on a pull-up?
Yes they're all grounded.
I'm using 3 wires. 5v+resistor digital pin on Arduino, and ground.
I'm using pins 4 and 5 for my limit switches, and pin 2 for my momentary button.
They're all pulled high with a 1k ohm resistor.
Re-reading my code it appears the limit switches are NO, when they're pressed they read HIGH.
I have them wired 5v to resistor to the C contact, and pin 4 goes to the C contact as well and a ground to the NC contact.
I need to draw up that wiring diagram.
The momentary button is not, its always HIGH until pressed.
I will have to double check, I do not have my project in front of me right now, only my code.
Thank you.