My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_3DRAG.h 2.2KB

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