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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2019 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 <http://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"
  28. #define ZRIB_V20_D6_PIN 6 // Fan
  29. #define ZRIB_V20_D9_PIN 9 // Fan2
  30. #define ZRIB_V20_A10_PIN 10
  31. #define ZRIB_V20_D16_PIN 16
  32. #define ZRIB_V20_D17_PIN 17
  33. #define ZRIB_V20_D23_PIN 23
  34. #define ZRIB_V20_D25_PIN 25
  35. #define ZRIB_V20_D27_PIN 27
  36. #define ZRIB_V20_D29_PIN 29
  37. #define ZRIB_V20_D37_PIN 37
  38. #define ORIG_E0_AUTO_FAN_PIN ZRIB_V20_D6_PIN
  39. #define ORIG_E1_AUTO_FAN_PIN ZRIB_V20_D6_PIN
  40. #define ORIG_E2_AUTO_FAN_PIN ZRIB_V20_D6_PIN
  41. #define ORIG_E3_AUTO_FAN_PIN ZRIB_V20_D6_PIN
  42. #ifndef FILWIDTH_PIN
  43. #define FILWIDTH_PIN 11 // Analog Input
  44. #endif
  45. #if ENABLED(ZONESTAR_LCD)
  46. #undef LCD_PINS_RS
  47. #undef LCD_PINS_ENABLE
  48. #undef LCD_PINS_D4
  49. #undef LCD_PINS_D5
  50. #undef LCD_PINS_D6
  51. #undef LCD_PINS_D7
  52. #undef ADC_KEYPAD_PIN
  53. #undef BEEPER_PIN
  54. #define LCD_PINS_RS ZRIB_V20_D16_PIN
  55. #define LCD_PINS_ENABLE ZRIB_V20_D17_PIN
  56. #define LCD_PINS_D4 ZRIB_V20_D23_PIN
  57. #define LCD_PINS_D5 ZRIB_V20_D25_PIN
  58. #define LCD_PINS_D6 ZRIB_V20_D27_PIN
  59. #define LCD_PINS_D7 ZRIB_V20_D29_PIN
  60. #define ADC_KEYPAD_PIN ZRIB_V20_A10_PIN
  61. #define BEEPER_PIN ZRIB_V20_D37_PIN
  62. #endif