change direction of y axis +/-

I have just finished to build up a tronxy x1, but the the y stepper moves in the wrong direction and awaiting the end switch on the wrong side.
How can I invert the direction of the stepper +/1? 
Is there a G-code?
Thanks in advance Frank


Sign In or Register to comment.