//The defining of analog input pins tested with Arduino UNO and Arduino Nano. if(left_joystick_x_value < 340) y_axis_degree -=7; else if(left_joystick_x_value > 680 ...
const int pinX = A0; // Pin analógico para el eje X del joystick const int pinY = A1; // Pin analógico para el eje Y del joystick const int buttonPin = 8; // Botón de emergencia del joystick (D8) // ...