pins_TRIGORILLA_14.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (C) 2016 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. /**
  23. * Arduino Mega with RAMPS v1.4 for Anycubic
  24. */
  25. #ifndef BOARD_NAME
  26. #define BOARD_NAME "Anycubic RAMPS 1.4"
  27. #endif
  28. #define IS_RAMPS_EFB
  29. // FAN0 / D9 - Typically used for the part fan on Anycubic Delta devices
  30. #define FAN_PIN 9
  31. // FAN1 / D7 - Typically unused, can be allocated as Case Fan
  32. // FAN2 / D44 - Typical Extruder Fan on Anycubic Delta devices
  33. #define FAN2_PIN 44
  34. #define ORIG_E0_AUTO_FAN_PIN 44
  35. #include "pins_RAMPS.h"
  36. // TODO 1.4 boards do have an E1 stepper driver. However the pin definitions
  37. // from pins_RAMPS.h are incorrect for this board. e.g., Pin 44 is the Extruder fan.
  38. #undef E1_STEP_PIN
  39. #undef E1_DIR_PIN
  40. #undef E1_ENABLE_PIN
  41. #undef E1_CS_PIN
  42. //
  43. // AnyCubic made the following changes to 1.1.0-RC8
  44. // If these are appropriate for your LCD let us know.
  45. //
  46. #if 0 && ENABLED(ULTRA_LCD)
  47. // LCD Display output pins
  48. #if ENABLED(NEWPANEL) && ENABLED(PANEL_ONE)
  49. #undef LCD_PINS_D6
  50. #define LCD_PINS_D6 57
  51. #endif
  52. // LCD Display input pins
  53. #if ENABLED(NEWPANEL)
  54. #if ENABLED(VIKI2) || ENABLED(miniVIKI)
  55. #undef DOGLCD_A0
  56. #define DOGLCD_A0 23
  57. #elif ENABLED(ELB_FULL_GRAPHIC_CONTROLLER)
  58. #undef BEEPER_PIN
  59. #define BEEPER_PIN 33
  60. #undef LCD_BACKLIGHT_PIN
  61. #define LCD_BACKLIGHT_PIN 67
  62. #endif
  63. #elif ENABLED(MINIPANEL)
  64. #undef BEEPER_PIN
  65. #define BEEPER_PIN 33
  66. #undef DOGLCD_A0
  67. #define DOGLCD_A0 42
  68. #endif
  69. #endif // ULTRA_LCD