Joystick managed by Marlin

Ok the EN=HIGH (disabled) means that the enable pin (you had set to D42) is disconnected or is being driven high. You should have a switch between D42 and GND, and when the switch is closed, it will enable the joystick and when the switch is open it will disable the joystick. This is a safety measure so if the joystick becomes unplugged the tool won’t take off on you.

You could also comment out the line
\\#define JOY_EN_PIN 42
and it would operate without the enable/disable (effectively always enabled) but I wouldn’t recommend this because it’s unsafe.

1 Like