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
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(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS] - Z_RAISE_AFTER_PROBING);
} else {
float oldXpos = current_position[X_AXIS]; // save x position
float z_loc = current_position[Z_AXIS];

View file

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

View file

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

View file

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