#define Y_ENABLE_ON turns the stepper on and off .
To change the direction change #define INVERT_Y_DIR between true and false
However be aware that the direction is the direction the head moves relative to the bed, not the direction the bed moves.
If it homes in the wrong direction change #define Y_HOME_DIR 1 or -1