12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- /**
- * Marlin 3D Printer Firmware
- * Copyright (c) 2020 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 <https://www.gnu.org/licenses/>.
- *
- */
- #pragma once
-
- /**
- * ZRIB V2.0 & V3.0 pin assignments
- * V2 and V3 Boards only differ in USB controller, nothing affecting the pins.
- */
-
- #include "pins_MKS_GEN_13.h" // ... RAMPS
-
- //
- // Auto fans
- //
- #ifndef E0_AUTO_FAN_PIN
- #define E0_AUTO_FAN_PIN 6 // Fan
- #endif
- #ifndef E1_AUTO_FAN_PIN
- #define E1_AUTO_FAN_PIN 6
- #endif
- #ifndef E2_AUTO_FAN_PIN
- #define E2_AUTO_FAN_PIN 6
- #endif
- #ifndef E3_AUTO_FAN_PIN
- #define E3_AUTO_FAN_PIN 6
- #endif
-
- #ifndef FILWIDTH_PIN
- #define FILWIDTH_PIN 11 // Analog Input
- #endif
-
- #if ENABLED(ZONESTAR_LCD)
- #undef LCD_PINS_RS
- #undef LCD_PINS_ENABLE
- #undef LCD_PINS_D4
- #undef LCD_PINS_D5
- #undef LCD_PINS_D6
- #undef LCD_PINS_D7
- #undef ADC_KEYPAD_PIN
- #undef BEEPER_PIN
-
- #undef SHIFT_OUT_PIN
- #undef SHIFT_CLK_PIN
- #undef SHIFT_LD_PIN
- #undef BTN_EN1
- #undef BTN_EN2
- #undef BTN_ENC
-
- #define LCD_PINS_RS 16
- #define LCD_PINS_ENABLE 17
- #define LCD_PINS_D4 23
- #define LCD_PINS_D5 25
- #define LCD_PINS_D6 27
- #define LCD_PINS_D7 29
- #define ADC_KEYPAD_PIN 10 // Analog Input
- #define BEEPER_PIN 37
- #endif
|