My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pins_3DRAG.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. #define RAMPS_D8_PIN 9
  35. #define RAMPS_D9_PIN 8
  36. #define MOSFET_D_PIN 12
  37. #include "pins_RAMPS.h"
  38. #define HEATER_2_PIN 6
  39. #undef Z_ENABLE_PIN
  40. #define Z_ENABLE_PIN 63
  41. #undef Z_MAX_PIN
  42. #define Z_MAX_PIN -1
  43. #undef SDSS
  44. #define SDSS 25//53
  45. #if ENABLED(ULTRA_LCD) && ENABLED(NEWPANEL)
  46. #undef BEEPER_PIN
  47. #define BEEPER_PIN -1
  48. #undef LCD_PINS_RS
  49. #undef LCD_PINS_ENABLE
  50. #undef LCD_PINS_D4
  51. #undef LCD_PINS_D5
  52. #undef LCD_PINS_D6
  53. #undef LCD_PINS_D7
  54. #define LCD_PINS_RS 27
  55. #define LCD_PINS_ENABLE 29
  56. #define LCD_PINS_D4 37
  57. #define LCD_PINS_D5 35
  58. #define LCD_PINS_D6 33
  59. #define LCD_PINS_D7 31
  60. // Buttons
  61. #undef BTN_EN1
  62. #undef BTN_EN2
  63. #undef BTN_ENC
  64. #define BTN_EN1 16
  65. #define BTN_EN2 17
  66. #define BTN_ENC 23
  67. #else
  68. #define BEEPER_PIN 33
  69. #endif // ULTRA_LCD && NEWPANEL