🐛Fix GT2560_V41b Z2 pin (#26370)
* Update pins_GT2560_V41b.h Fix Z2_STOP_PIN * use mega2560ext when board has pins > D69 * Allow overrides, consistent with other pins in this file --------- Co-authored-by: Jason Smith <jason.inet@gmail.com>
This commit is contained in:
parent
cc8f7c83da
commit
6ae2cde663
|
@ -51,15 +51,13 @@
|
||||||
* X AXIS Y AXIS Z1 AXIS Z0 AXIS
|
* X AXIS Y AXIS Z1 AXIS Z0 AXIS
|
||||||
* --- --- --- ---
|
* --- --- --- ---
|
||||||
* | 1 | 5V | 1 | 5V | 1 | 5V | 1 | 5V
|
* | 1 | 5V | 1 | 5V | 1 | 5V | 1 | 5V
|
||||||
* | 2 | 24 X_MIN | 2 | 28 Y_MIN | 2 | PE7 Z1_MIN | 2 | 30 Z0_MIN
|
* | 2 | 24 X_MIN | 2 | 28 Y_MIN | 2 | 80 Z1_MIN | 2 | 30 Z0_MIN
|
||||||
* | 3 | GND | 3 | GND | 3 | GND | 3 | GND
|
* | 3 | GND | 3 | GND | 3 | GND | 3 | GND
|
||||||
* --- --- --- ---
|
* --- --- --- ---
|
||||||
* J3 J4 J5 J6
|
* J3 J4 J5 J6
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
//#define Z1_MIN PE7 // Number??
|
|
||||||
|
|
||||||
#ifndef X_STOP_PIN
|
#ifndef X_STOP_PIN
|
||||||
#ifndef X_MIN_PIN
|
#ifndef X_MIN_PIN
|
||||||
#define X_MIN_PIN 24
|
#define X_MIN_PIN 24
|
||||||
|
@ -84,6 +82,9 @@
|
||||||
#define Z_MAX_PIN 32
|
#define Z_MAX_PIN 32
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef Z2_STOP_PIN
|
||||||
|
#define Z2_STOP_PIN 80 // PE7 - Extended mega2560 pin
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Filament Runout Sensors
|
/** Filament Runout Sensors
|
||||||
*
|
*
|
||||||
|
|
|
@ -349,7 +349,7 @@
|
||||||
#elif MB(WEEDO_62A)
|
#elif MB(WEEDO_62A)
|
||||||
#include "mega/pins_WEEDO_62A.h" // ATmega2560 env:mega2560
|
#include "mega/pins_WEEDO_62A.h" // ATmega2560 env:mega2560
|
||||||
#elif MB(GT2560_V41B)
|
#elif MB(GT2560_V41B)
|
||||||
#include "mega/pins_GT2560_V41b.h" // ATmega2560 env:mega2560
|
#include "mega/pins_GT2560_V41b.h" // ATmega2560 env:mega2560ext
|
||||||
|
|
||||||
//
|
//
|
||||||
// ATmega1281, ATmega2561
|
// ATmega1281, ATmega2561
|
||||||
|
|
Loading…
Reference in a new issue