2015-01-25 21:40:00 -05:00
|
|
|
/**
|
|
|
|
* 3DRAG (and K8200) Arduino Mega with RAMPS v1.3 pin assignments
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "pins_RAMPS_13.h"
|
|
|
|
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef Z_ENABLE_PIN
|
2015-02-16 00:56:23 -05:00
|
|
|
#define Z_ENABLE_PIN 63
|
|
|
|
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef X_MAX_PIN
|
|
|
|
#undef Y_MAX_PIN
|
|
|
|
#undef Z_MAX_PIN
|
2015-01-25 23:08:51 -05:00
|
|
|
#define X_MAX_PIN 2
|
|
|
|
#define Y_MAX_PIN 15
|
2015-01-25 21:40:00 -05:00
|
|
|
#define Z_MAX_PIN -1
|
|
|
|
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef SDSS
|
2015-01-25 21:40:00 -05:00
|
|
|
#define SDSS 25//53
|
|
|
|
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef FAN_PIN
|
2015-01-25 21:40:00 -05:00
|
|
|
#define FAN_PIN 8
|
|
|
|
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef HEATER_1_PIN
|
|
|
|
#undef HEATER_2_PIN
|
|
|
|
#undef HEATER_BED_PIN
|
2015-01-25 21:40:00 -05:00
|
|
|
#define HEATER_0_PIN 10
|
|
|
|
#define HEATER_1_PIN 12
|
|
|
|
#define HEATER_2_PIN 6
|
|
|
|
|
|
|
|
#define HEATER_BED_PIN 9 // BED
|
|
|
|
|
2015-07-31 01:11:19 -04:00
|
|
|
#if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
|
2015-07-31 02:19:11 -04:00
|
|
|
#undef BEEPER_PIN
|
|
|
|
#define BEEPER_PIN -1
|
2015-01-25 21:40:00 -05:00
|
|
|
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef LCD_PINS_RS
|
|
|
|
#undef LCD_PINS_ENABLE
|
|
|
|
#undef LCD_PINS_D4
|
|
|
|
#undef LCD_PINS_D5
|
|
|
|
#undef LCD_PINS_D6
|
|
|
|
#undef LCD_PINS_D7
|
2015-01-25 21:40:00 -05:00
|
|
|
#define LCD_PINS_RS 27
|
|
|
|
#define LCD_PINS_ENABLE 29
|
|
|
|
#define LCD_PINS_D4 37
|
|
|
|
#define LCD_PINS_D5 35
|
|
|
|
#define LCD_PINS_D6 33
|
|
|
|
#define LCD_PINS_D7 31
|
|
|
|
|
|
|
|
// Buttons
|
2015-03-27 23:29:05 -04:00
|
|
|
#undef BTN_EN1
|
|
|
|
#undef BTN_EN2
|
|
|
|
#undef BTN_ENC
|
2015-01-25 21:40:00 -05:00
|
|
|
#define BTN_EN1 16
|
|
|
|
#define BTN_EN2 17
|
|
|
|
#define BTN_ENC 23 //the click
|
2015-03-27 23:29:05 -04:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2015-07-31 02:19:11 -04:00
|
|
|
#define BEEPER_PIN 33
|
2015-03-27 23:29:05 -04:00
|
|
|
|
2015-01-25 21:40:00 -05:00
|
|
|
#endif // ULTRA_LCD && NEWPANEL
|