Browse Source

add pin definition to some motherboards

pull/1/head
Christian Bohn 9 years ago
parent
commit
f48599f172
  1. 1
      Marlin/Marlin_main.cpp
  2. 5
      Marlin/pins_MEGATRONICS_3.h
  3. 4
      Marlin/pins_RAMBO.h
  4. 4
      Marlin/pins_RAMPS_13.h

1
Marlin/Marlin_main.cpp

@ -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];

5
Marlin/pins_MEGATRONICS_3.h

@ -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

4
Marlin/pins_RAMBO.h

@ -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

4
Marlin/pins_RAMPS_13.h

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

Loading…
Cancel
Save