add pin definition to some motherboards

This commit is contained in:
Christian Bohn 2015-05-12 10:02:23 +02:00
parent 27a3b1d895
commit f48599f172
4 changed files with 13 additions and 1 deletions

View File

@ -1543,7 +1543,6 @@ inline void set_destination_to_current() { memcpy(destination, current_position,
do_blocking_move_to(X_MAX_POS + SLED_DOCKING_OFFSET + offset - 1, current_position[Y_AXIS], current_position[Z_AXIS]); // Dock sled a bit closer to ensure proper capturing do_blocking_move_to(X_MAX_POS + SLED_DOCKING_OFFSET + offset - 1, current_position[Y_AXIS], current_position[Z_AXIS]); // Dock sled a bit closer to ensure proper capturing
digitalWrite(SLED_PIN, LOW); // turn off magnet digitalWrite(SLED_PIN, LOW); // turn off magnet
do_blocking_move_to(oldXpos, current_position[Y_AXIS], current_position[Z_AXIS]); // return to position before docking do_blocking_move_to(oldXpos, current_position[Y_AXIS], current_position[Z_AXIS]); // return to position before docking
do_blocking_move_to(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] - Z_RAISE_AFTER_PROBING);
} else { } else {
float oldXpos = current_position[X_AXIS]; // save x position float oldXpos = current_position[X_AXIS]; // save x position
float z_loc = current_position[Z_AXIS]; float z_loc = current_position[Z_AXIS];

View File

@ -8,6 +8,11 @@
#define LARGE_FLASH true #define LARGE_FLASH true
#ifdef Z_PROBE_SLED
#define SLED_PIN -1
#endif
// Servo support // Servo support
#ifdef NUM_SERVOS #ifdef NUM_SERVOS
#define SERVO0_PIN 46 //AUX3-6 #define SERVO0_PIN 46 //AUX3-6

View File

@ -22,6 +22,10 @@
#endif #endif
#endif #endif
#ifdef Z_PROBE_SLED
#define SLED_PIN -1
#endif
#undef X_MS1_PIN #undef X_MS1_PIN
#undef X_MS2_PIN #undef X_MS2_PIN
#undef Y_MS1_PIN #undef Y_MS1_PIN

View File

@ -134,6 +134,10 @@
#endif #endif
#endif #endif
#ifdef Z_PROBE_SLED
#define SLED_PIN -1
#endif
#ifdef ULTRA_LCD #ifdef ULTRA_LCD
#ifdef NEWPANEL #ifdef NEWPANEL