Alright sorry for the delay. I did get it to work!! However…
- For some reason I was not able to get your version of the code to compile. I had to change the firmware a little bit because I have my X as dual and my y as single so switched that and I had my endstops wired to match (extra was on YMax). I kept getting filename too long and could not for the life of me figure that one out (maybe I am using the wrong version of IDE (I am using 1.8.13)). I went back to Ryan’s code and made the modifications you did and it compiled fine.
- In Configuration.h, it did not work for me to use Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN. Not sure why, but seems like the probe pin doesn’t get set. I commented that line out and changed the next line to use the same pin and it worked fine (#define Z_MIN_PROBE_PIN Z_MIN_PIN // Pin 32 is the RAMPS default)
- For others with the same issues I outlined above and need to change Ryan’s dual endstop code here are the changes I did:
a. the ones outlined about
b. In Configurations.h change #define Z_HOME_DIR +1 (instead of -1)
c. make sure to update your bed size (not needed for this problem but caused me some grief)
// The size of the print bed
#define X_BED_SIZE 1219
#define Y_BED_SIZE 1219
d. in Configuration_adv.h uncomment out
#define G38_PROBE_TARGET
e. Change the setting of the dual stepper driver in Configuration_adv.h (ex X_DUAL_STEPPER_DRIVERS - uncommented, //#define Y_DUAL_STEPPER_DRIVERS - commented, and changed #define Z2_USE_ENDSTOP YMAX – my open one)
f. In Configuration_adv.h add:
#define USER_DESC_4 “Probe Z min”
#define USER_GCODE_4 “G38.2 Z0”
to Custom_User_Menus if you are using Ryan’s display
ps. the probe is wired on ZMin Endstop in my code
Let me know if you have any questions. Hope this helps the next person