Welcome! Log In Create A New Profile

Advanced

Redefine pins.h to switch min and max endstops

Posted by anvoice 
Redefine pins.h to switch min and max endstops
June 29, 2016 10:53PM
Hi,
My z-min endstop stopped working due to either ramps or mega pin problem. I'm trying to redefine the pins.h file to use the z-max pin as the z-min instead. I believe that the pin for z-max is by default 19, so I'm putting that value for the z-min endstop for motherboard 33 (the #else statement after #if motherboard == 77), i.e. switching #define Z_MIN_PIN 18 to #define Z_MIN_PIN 19. However, recompiling and reflashing, I get no change in behavior, I still have a nonworking z-min and working z-max.

Am I missing something here?
Re: Redefine pins.h to switch min and max endstops
June 30, 2016 04:18AM
Use the much newer marlin [github.com]

pins are so much clearer and easier to find. [github.com]
Re: Redefine pins.h to switch min and max endstops
June 30, 2016 05:53PM
Got it.
Sorry, only registered users may post in this forum.

Click here to login