Adjust config.gen7-v1.4.h for Gen7 v1.4.
This means: - Max endstops are gone. - Min endstops are now PB0 / PB1 / PB2. - Order of the steppers is inverted (X Y Z E instead of E Z Y X). - All pins on port A one to the left (pin number - 1).
This commit is contained in:
parent
fb5a32d344
commit
9c126e3387
|
|
@ -200,9 +200,9 @@
|
||||||
or adjust your electronics to suit this
|
or adjust your electronics to suit this
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define X_STEP_PIN DIO19
|
#define X_STEP_PIN DIO29
|
||||||
#define X_DIR_PIN DIO18
|
#define X_DIR_PIN DIO28
|
||||||
#define X_MIN_PIN DIO7
|
#define X_MIN_PIN DIO0
|
||||||
//#define X_MAX_PIN xxxx
|
//#define X_MAX_PIN xxxx
|
||||||
//#define X_ENABLE_PIN xxxx
|
//#define X_ENABLE_PIN xxxx
|
||||||
//#define X_INVERT_DIR
|
//#define X_INVERT_DIR
|
||||||
|
|
@ -210,9 +210,9 @@
|
||||||
//#define X_INVERT_MAX
|
//#define X_INVERT_MAX
|
||||||
//#define X_INVERT_ENABLE
|
//#define X_INVERT_ENABLE
|
||||||
|
|
||||||
#define Y_STEP_PIN DIO23
|
#define Y_STEP_PIN DIO27
|
||||||
#define Y_DIR_PIN DIO22
|
#define Y_DIR_PIN DIO26
|
||||||
#define Y_MIN_PIN DIO5
|
#define Y_MIN_PIN DIO1
|
||||||
//#define Y_MAX_PIN xxxx
|
//#define Y_MAX_PIN xxxx
|
||||||
//#define Y_ENABLE_PIN xxxx
|
//#define Y_ENABLE_PIN xxxx
|
||||||
//#define Y_INVERT_DIR
|
//#define Y_INVERT_DIR
|
||||||
|
|
@ -220,9 +220,9 @@
|
||||||
//#define Y_INVERT_MAX
|
//#define Y_INVERT_MAX
|
||||||
//#define Y_INVERT_ENABLE
|
//#define Y_INVERT_ENABLE
|
||||||
|
|
||||||
#define Z_STEP_PIN DIO26
|
#define Z_STEP_PIN DIO23
|
||||||
#define Z_DIR_PIN DIO25
|
#define Z_DIR_PIN DIO22
|
||||||
#define Z_MIN_PIN DIO1
|
#define Z_MIN_PIN DIO2
|
||||||
//#define Z_MAX_PIN xxxx
|
//#define Z_MAX_PIN xxxx
|
||||||
//#define Z_ENABLE_PIN xxxx
|
//#define Z_ENABLE_PIN xxxx
|
||||||
//#define Z_INVERT_DIR
|
//#define Z_INVERT_DIR
|
||||||
|
|
@ -230,14 +230,14 @@
|
||||||
//#define Z_INVERT_MAX
|
//#define Z_INVERT_MAX
|
||||||
//#define Z_INVERT_ENABLE
|
//#define Z_INVERT_ENABLE
|
||||||
|
|
||||||
#define E_STEP_PIN DIO28
|
#define E_STEP_PIN DIO19
|
||||||
#define E_DIR_PIN DIO27
|
#define E_DIR_PIN DIO18
|
||||||
//#define E_ENABLE_PIN
|
//#define E_ENABLE_PIN
|
||||||
//#define E_INVERT_DIR
|
//#define E_INVERT_DIR
|
||||||
//#define E_INVERT_ENABLE
|
//#define E_INVERT_ENABLE
|
||||||
|
|
||||||
#define PS_ON_PIN DIO15
|
#define PS_ON_PIN DIO15
|
||||||
#define STEPPER_ENABLE_PIN DIO24
|
#define STEPPER_ENABLE_PIN DIO25
|
||||||
#define STEPPER_INVERT_ENABLE
|
#define STEPPER_INVERT_ENABLE
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -290,8 +290,8 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// name type pin additional
|
// name type pin additional
|
||||||
DEFINE_TEMP_SENSOR(extruder, TT_THERMISTOR, PINA1, THERMISTOR_EXTRUDER)
|
DEFINE_TEMP_SENSOR(extruder, TT_THERMISTOR, PINA0, THERMISTOR_EXTRUDER)
|
||||||
DEFINE_TEMP_SENSOR(bed, TT_THERMISTOR, PINA2, THERMISTOR_BED)
|
DEFINE_TEMP_SENSOR(bed, TT_THERMISTOR, PINA1, THERMISTOR_BED)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -335,8 +335,8 @@ DEFINE_TEMP_SENSOR(bed, TT_THERMISTOR, PINA2, THERMISTOR_BED)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// name port pin pwm
|
// name port pin pwm
|
||||||
DEFINE_HEATER(extruder, PB4)
|
DEFINE_HEATER(extruder, DIO4)
|
||||||
DEFINE_HEATER(bed, PB3)
|
DEFINE_HEATER(bed, DIO3)
|
||||||
|
|
||||||
/// and now because the c preprocessor isn't as smart as it could be,
|
/// and now because the c preprocessor isn't as smart as it could be,
|
||||||
/// uncomment the ones you've listed above and comment the rest.
|
/// uncomment the ones you've listed above and comment the rest.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue