I made a custom printer with RAMPS. I used Y-MIN endstop at beginning. After few prints I discovered that Y-axis was inverted (mirrored).
I fixed Marlin firmware and now I have:
#define Y_MAX_ENDSTOP_INVERTING true
#define INVERT_Y_DIR false
#define Y_HOME_DIR 1
#define USE_YMAX_PLUG
I also connected the Y-endstop to Y-max pin on RAMPS.
Now the printer homing in the same direction than before (in front) and the y-endstop works as expected.
If I try to start printing or if I try to press the "center" button in Pronterface, the Y-axis moves in the wrong direction.
Can someone help me?