CNC Sheild Rotator firmware

I dont know if I am missing something or am not understanding the instruction but I cant seem to get the arduino firmware setup for the life of me. I have tried both the instruction on the satnogs website and the Quartapound firmware and am struggling to understand what is going wrong with my setup.

Unfortunately Quarterpound was a little short of comments so I had to put them in myself to understand the firmware behavior. Here is a cut down version showing my comments and modification for different Az/El gear ratios.

/*!

  • @filefile stepper_motor_controller_rotor22.ino

  • 2023 December. Az/El Rotor built from a Pan/Tilt pedestal.

  • Augmented changes by Robert Denize to handle Az and El gear ratios not being the same.

  • This is the documentation for satnogs rotator controller firmware

  • for stepper motors configuration. The board (PCB) is placed in

  • satnogs-rotator-controller and is for releases:v2.0, v2.1, v2.2

  • wiki page +

  • @section

  • @section dependencies Dependencies

  • This firmware depends on <a href="http://www.airspayce.com/mikem/arduino/AccelStepper/index.

  • htmlhttp://www.airspayce.com/mikem/arduino/AccelStepper/index.html">

  • AccelStepper library being present on your system. Please make sure you

  • have installed the latest version before using this firmwa@sectione.

  • @section license License: Licensed under the GPLv3.

/
#define SAMPLE_TIME 0.1 ///< Control loop in s
#define RATIO_AZ 9 ///< Gear ratio of rotator gear box, Az.
#define RATIO_EL 7 ///< Gear ratio of rotator gear box, El.
#define MICROSTEP 4 ///< Set Microstep
#define MIN_PULSE_WIDTH 20 ///< In microsecond for AccelStepper
#define MAX_SPEED 800 ///< In steps/s, consider the microstep
#define MAX_ACCELERATION 800 ///< In steps/s^2, consider the microstep
#define SPR 1600L ///< StepsPerRevolution of stepping motors. eg 360/1.88= 1600.
#define MIN_M1_ANGLE 0 ///< Minimum angle of azimuth
#define MAX_M1_ANGLE 360 ///< Maximum angle of azimuth
#define MIN_M2_ANGLE 0 ///< Minimum angle of elevation
#define MAX_M2_ANGLE 180 ///< Maximum angle of elevation
#define DEFAULT_HOME_STATE LOW ///< Change to LOW according to Home sensor. See endstop.h where a flag is set
///‘true’ when endstop switch goes “on”. Care must be taken to isolate electrical crosstalk noise reaching the
///communication cable from the stepper motor driving cables. It should be separated and shielded.
///There is some advantage to make the endstop switch “off” (HIGH) at endstop rather than “on” (LOW).

#define HOME_DELAY 12000 ///< Time for homing Deceleration in millisecond

I see you said 2.0-2.2, I guess I should have mentioned I am building v3.1

ok, I cannot find where you are getting v3.1 from, I certainly cannot find this firmware version. I do suspect there may be confusion with the CNC shield being identified as v3.

Ok, I was just reffering to the rotator version. Not the software. I am following now

What are the different versions, I’ve only ever seen 2 of them that being the standard satnogs firmware and the qourtapound software