Z Axis trouble

Hello all,

arduino 2560 mega, ramps 1.4, running marlin.

I have a cooblebot printer that I am having trouble making the z motor go up, it only wants to go down.

I have tried switching the wires around both ways and I have tried changing the code to say true invert the z axis instead of false.

1: code false, wires right way up. 2: code false, wires wrong way up. 3: code true, wires right way up. 4: code true, wires wrong way up.

I have now tried all four of these combinations and all are still resulting in the z axis traveling down..

Any ideas would be greatly appreciated.. as I am at a complete loss..

Please: don't crosspost. Ask a moderator to merge your posts or delete one.