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.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. * 3DRAG (and K8200) Arduino Mega with RAMPS v1.4 pin assignments
  24. */
  25. #include "pins_RAMPS_14.h"
  26. #define DEFAULT_MACHINE_NAME "3Drag"
  27. #define DEFAULT_SOURCE_URL "http://3dprint.elettronicain.it/"
  28. #undef Z_ENABLE_PIN
  29. #define Z_ENABLE_PIN 63
  30. #undef X_MAX_PIN
  31. #undef Y_MAX_PIN
  32. #undef Z_MAX_PIN
  33. #define X_MAX_PIN 2
  34. #define Y_MAX_PIN 15
  35. #define Z_MAX_PIN -1
  36. #undef SDSS
  37. #define SDSS 25//53
  38. #undef FAN_PIN
  39. #define FAN_PIN 8
  40. #undef HEATER_1_PIN
  41. #undef HEATER_2_PIN
  42. #undef HEATER_BED_PIN
  43. #define HEATER_0_PIN 10
  44. #define HEATER_1_PIN 12
  45. #define HEATER_2_PIN 6
  46. #define HEATER_BED_PIN 9 // BED
  47. #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
  48. #undef BEEPER_PIN
  49. #define BEEPER_PIN -1
  50. #undef LCD_PINS_RS
  51. #undef LCD_PINS_ENABLE
  52. #undef LCD_PINS_D4
  53. #undef LCD_PINS_D5
  54. #undef LCD_PINS_D6
  55. #undef LCD_PINS_D7
  56. #define LCD_PINS_RS 27
  57. #define LCD_PINS_ENABLE 29
  58. #define LCD_PINS_D4 37
  59. #define LCD_PINS_D5 35
  60. #define LCD_PINS_D6 33
  61. #define LCD_PINS_D7 31
  62. // Buttons
  63. #undef BTN_EN1
  64. #undef BTN_EN2
  65. #undef BTN_ENC
  66. #define BTN_EN1 16
  67. #define BTN_EN2 17
  68. #define BTN_ENC 23 //the click
  69. #else
  70. #define BEEPER_PIN 33
  71. #endif // ULTRA_LCD && NEWPANEL