2016-03-25 06:19:46 +00:00
|
|
|
/**
|
2016-03-24 18:01:20 +00:00
|
|
|
* Marlin 3D Printer Firmware
|
|
|
|
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|
|
|
*
|
|
|
|
* Based on Sprinter and grbl.
|
|
|
|
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2015-01-26 02:40:00 +00:00
|
|
|
/**
|
2016-07-02 13:32:21 +00:00
|
|
|
* 3DRAG (and K8200 / K8400) Arduino Mega with RAMPS v1.4 pin assignments
|
2015-01-26 02:40:00 +00:00
|
|
|
*/
|
|
|
|
|
2016-06-30 09:24:29 +00:00
|
|
|
#ifndef BOARD_NAME
|
|
|
|
#define BOARD_NAME "3Drag"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef DEFAULT_MACHINE_NAME
|
|
|
|
#define DEFAULT_MACHINE_NAME "3Drag"
|
|
|
|
#endif
|
2015-01-26 02:40:00 +00:00
|
|
|
|
2016-06-30 09:24:29 +00:00
|
|
|
#ifndef DEFAULT_SOURCE_CODE_URL
|
|
|
|
#define DEFAULT_SOURCE_CODE_URL "http://3dprint.elettronicain.it/"
|
|
|
|
#endif
|
|
|
|
|
2016-08-11 22:49:47 +00:00
|
|
|
#define RAMPS_D8_PIN 9
|
|
|
|
#define RAMPS_D9_PIN 8
|
|
|
|
#define MOSFET_D_PIN 12
|
|
|
|
|
2016-07-30 10:10:30 +00:00
|
|
|
#include "pins_RAMPS.h"
|
2016-04-03 01:53:05 +00:00
|
|
|
|
2016-08-11 22:49:47 +00:00
|
|
|
#define HEATER_2_PIN 6
|
|
|
|
|
2015-03-28 03:29:05 +00:00
|
|
|
#undef Z_ENABLE_PIN
|
2015-02-16 05:56:23 +00:00
|
|
|
#define Z_ENABLE_PIN 63
|
|
|
|
|
2015-03-28 03:29:05 +00:00
|
|
|
#undef Z_MAX_PIN
|
2015-01-26 02:40:00 +00:00
|
|
|
#define Z_MAX_PIN -1
|
|
|
|
|
2015-03-28 03:29:05 +00:00
|
|
|
#undef SDSS
|
2015-01-26 02:40:00 +00:00
|
|
|
#define SDSS 25//53
|
|
|
|
|
2015-07-31 05:11:19 +00:00
|
|
|
#if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
|
2015-07-31 06:19:11 +00:00
|
|
|
#undef BEEPER_PIN
|
|
|
|
#define BEEPER_PIN -1
|
2015-01-26 02:40:00 +00:00
|
|
|
|
2015-03-28 03:29:05 +00: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-26 02:40:00 +00: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-28 03:29:05 +00:00
|
|
|
#undef BTN_EN1
|
|
|
|
#undef BTN_EN2
|
|
|
|
#undef BTN_ENC
|
2015-01-26 02:40:00 +00:00
|
|
|
#define BTN_EN1 16
|
|
|
|
#define BTN_EN2 17
|
2016-07-28 20:58:37 +00:00
|
|
|
#define BTN_ENC 23
|
2015-03-28 03:29:05 +00:00
|
|
|
|
|
|
|
#else
|
|
|
|
|
2015-07-31 06:19:11 +00:00
|
|
|
#define BEEPER_PIN 33
|
2015-03-28 03:29:05 +00:00
|
|
|
|
2015-01-26 02:40:00 +00:00
|
|
|
#endif // ULTRA_LCD && NEWPANEL
|