Random motor not going backwards! AHHH!!!

Ok, it’s the day before ship and we’re having a really big major problem. Our motor that we’re using for our turret pan will only go one way. We were trying to put on some limit switches, but we don’t see how that would be a problem. Has anyone ever run into this problem? PLEASE, PLEASE help!!! We thought at first that it was just the pwm input, but evidently not as it did it on another input and it did the same thing. PLEASE PLEASE HELP!!! We’re desperate!

Never mind. We figured it out, but thanks for the help. Our limit switches were wired wrong, so yeah, we feel stupid.