RAMPS 1.4 for Stepper Motors

Pin 54 is A0

To verify that write a short program with the line

Serial.println(A0);

...R