I am building a dual x carriage 3D printer and using the Marlin firmware 1.0.x to setup.
But the lcd menu tree can only control X Y Z and one extruder E
I want to add X2 and E2 in the Menu Prepare -> Move Axis, so I can manually move the second carriage and extruder
So far I have looked into the Ultralcd.cpp file and add the following line:
static void lcd_move_x2() { _lcd_move(PSTR("X2"), X_AXIS, X_MIN_POS, X_MAX_POS); }
MENU_ITEM(submenu, MSG_MOVE_X2, lcd_move_x2);
This adds another line in the lcd and shows the X2 option however it only moves the first carriage X1
I think the problem is that I should not use the X_AXIS in the code, but I dont know what command should I use.
How should I define something like X2_AXIS so that I can control X2