My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_ZRIB_V20.h 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
  4. *
  5. * Based on Sprinter and grbl.
  6. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation, either version 3 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program. If not, see <https://www.gnu.org/licenses/>.
  20. *
  21. */
  22. #pragma once
  23. /**
  24. * ZRIB V2.0 & V3.0 pin assignments
  25. * V2 and V3 Boards only differ in USB controller, nothing affecting the pins.
  26. */
  27. #include "pins_MKS_GEN_13.h" // ... RAMPS
  28. //
  29. // Auto fans
  30. //
  31. #ifndef E0_AUTO_FAN_PIN
  32. #define E0_AUTO_FAN_PIN 6 // Fan
  33. #endif
  34. #ifndef E1_AUTO_FAN_PIN
  35. #define E1_AUTO_FAN_PIN 6
  36. #endif
  37. #ifndef E2_AUTO_FAN_PIN
  38. #define E2_AUTO_FAN_PIN 6
  39. #endif
  40. #ifndef E3_AUTO_FAN_PIN
  41. #define E3_AUTO_FAN_PIN 6
  42. #endif
  43. #ifndef FILWIDTH_PIN
  44. #define FILWIDTH_PIN 11 // Analog Input
  45. #endif
  46. #if ENABLED(ZONESTAR_LCD)
  47. #undef LCD_PINS_RS
  48. #undef LCD_PINS_ENABLE
  49. #undef LCD_PINS_D4
  50. #undef LCD_PINS_D5
  51. #undef LCD_PINS_D6
  52. #undef LCD_PINS_D7
  53. #undef ADC_KEYPAD_PIN
  54. #undef BEEPER_PIN
  55. #undef SHIFT_OUT_PIN
  56. #undef SHIFT_CLK_PIN
  57. #undef SHIFT_LD_PIN
  58. #undef BTN_EN1
  59. #undef BTN_EN2
  60. #undef BTN_ENC
  61. #define LCD_PINS_RS 16
  62. #define LCD_PINS_ENABLE 17
  63. #define LCD_PINS_D4 23
  64. #define LCD_PINS_D5 25
  65. #define LCD_PINS_D6 27
  66. #define LCD_PINS_D7 29
  67. #define ADC_KEYPAD_PIN 10 // Analog Input
  68. #define BEEPER_PIN 37
  69. #endif