|
|
@ -100,29 +100,39 @@
|
|
|
|
#define E2_CS_PIN 35
|
|
|
|
#define E2_CS_PIN 35
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// For Extension Board V2
|
|
|
|
//
|
|
|
|
|
|
|
|
// Extension Board V2
|
|
|
|
// http://doku.radds.org/dokumentation/extension-board
|
|
|
|
// http://doku.radds.org/dokumentation/extension-board
|
|
|
|
//#define E3_STEP_PIN 35
|
|
|
|
//
|
|
|
|
//#define E3_DIR_PIN 33
|
|
|
|
//#define RADDS_EXTENSION
|
|
|
|
//#define E3_ENABLE_PIN 37
|
|
|
|
#if ENABLED(RADDS_EXTENSION)
|
|
|
|
//#ifndef E3_CS_PIN
|
|
|
|
#define E3_STEP_PIN 35
|
|
|
|
// #define E3_CS_PIN 6
|
|
|
|
#define E3_DIR_PIN 33
|
|
|
|
//#endif
|
|
|
|
#define E3_ENABLE_PIN 37
|
|
|
|
|
|
|
|
#ifndef E3_CS_PIN
|
|
|
|
//#define Z2_STEP_PIN 29
|
|
|
|
#define E3_CS_PIN 6
|
|
|
|
//#define Z2_DIR_PIN 27
|
|
|
|
#endif
|
|
|
|
//#define Z2_ENABLE_PIN 31
|
|
|
|
|
|
|
|
//#ifndef Z2_CS_PIN
|
|
|
|
#define E3_MS1_PIN 67
|
|
|
|
// #define Z2_CS_PIN 39
|
|
|
|
#define E3_MS2_PIN 68
|
|
|
|
//#endif
|
|
|
|
#define E3_MS3_PIN 69
|
|
|
|
|
|
|
|
|
|
|
|
// Microstepping pins - Mapping not from fastio.h (?)
|
|
|
|
#define Z2_STEP_PIN 29
|
|
|
|
//#define E3_MS1_PIN 67
|
|
|
|
#define Z2_DIR_PIN 27
|
|
|
|
//#define E3_MS2_PIN 68
|
|
|
|
#define Z2_ENABLE_PIN 31
|
|
|
|
//#define E3_MS3_PIN 69
|
|
|
|
#ifndef Z2_CS_PIN
|
|
|
|
//#define Z2_MS1_PIN 67 // shared with E3_MS1_PIN
|
|
|
|
#define Z2_CS_PIN 39
|
|
|
|
//#define Z2_MS2_PIN 68 // shared with E3_MS2_PIN
|
|
|
|
#endif
|
|
|
|
//#define Z2_MS3_PIN 69 // shared with E3_MS3_PIN
|
|
|
|
|
|
|
|
|
|
|
|
#define Z2_MS1_PIN 67 // shared with E3_MS1_PIN
|
|
|
|
|
|
|
|
#define Z2_MS2_PIN 68 // shared with E3_MS2_PIN
|
|
|
|
|
|
|
|
#define Z2_MS3_PIN 69 // shared with E3_MS3_PIN
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define RADDS_EXT_VDD1_PIN 25
|
|
|
|
|
|
|
|
#define RADDS_EXT_VDD2_PIN 66
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#define BOARD_INIT() OUT_WRITE(RADDS_EXT_VDD1_PIN, HIGH); OUT_WRITE(RADDS_EXT_VDD2_PIN, HIGH)
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// Temperature Sensors
|
|
|
|
// Temperature Sensors
|
|
|
|