2016-03-24 19:01:20 +01: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/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-02-27 20:17:07 +01:00
|
|
|
/**
|
|
|
|
* bq ZUM Mega 3D board definition
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __AVR_ATmega2560__
|
|
|
|
#error Oops! Make sure you have 'Arduino Mega 2560' selected from the 'Tools -> Boards' menu.
|
|
|
|
#endif
|
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#include "pins_RAMPS_13.h"
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef X_MAX_PIN
|
|
|
|
#define X_MAX_PIN 79 // 2
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef Z_ENABLE_PIN
|
|
|
|
#define Z_ENABLE_PIN 77 // 62
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef FAN_PIN
|
|
|
|
#define FAN_PIN 12 // 4
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef HEATER_0_PIN
|
|
|
|
#define HEATER_0_PIN 9 // 10
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef HEATER_1_PIN
|
|
|
|
#define HEATER_1_PIN 10 // 9
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef TEMP_1_PIN
|
|
|
|
#define TEMP_1_PIN 14 // 15
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef TEMP_BED_PIN
|
|
|
|
#define TEMP_BED_PIN 15 // 14
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#define DIGIPOTSS_PIN 22
|
|
|
|
#define DIGIPOT_CHANNELS { 4, 5, 3, 0, 1 }
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#define FAN1_PIN 7
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef PS_ON_PIN // 12
|
|
|
|
#define PS_ON_PIN 81 // External Power Supply
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#if ENABLED(BQ_LCD_SMART_CONTROLLER) // Most similar to REPRAP_DISCOUNT_SMART_CONTROLLER
|
|
|
|
#define KILL_PIN 41
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#define BEEPER_PIN 37
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#define BTN_EN1 31
|
|
|
|
#define BTN_EN2 33
|
|
|
|
#define BTN_ENC 35
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#define LCD_PIN_BL 39
|
|
|
|
#define LCD_PINS_RS 16
|
|
|
|
#define LCD_PINS_ENABLE 17
|
|
|
|
#define LCD_PINS_D4 23
|
2016-02-27 20:17:07 +01:00
|
|
|
|
2016-03-01 02:24:57 +01:00
|
|
|
#define SD_DETECT_PIN 49
|
2016-02-27 20:17:07 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
2016-03-01 02:24:57 +01:00
|
|
|
#undef Z_MIN_PIN
|
|
|
|
#undef Z_MAX_PIN
|
|
|
|
#define Z_MIN_PIN 19 // IND_S_5V
|
|
|
|
#define Z_MAX_PIN 18 // Z-MIN Label
|
2016-02-27 20:17:07 +01:00
|
|
|
#endif
|