My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /**
  2. * Marlin 3D Printer Firmware
  3. * Copyright (c) 2020 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. #if HOTENDS > 2 || E_STEPPERS > 2
  24. #error "Creality3D RAMPS supports only 2 hotends / E-steppers. Comment out this line to continue."
  25. #endif
  26. #define BOARD_INFO_NAME "Creality3D RAMPS"
  27. //
  28. // Heaters / Fans
  29. //
  30. // Power outputs EFBF or EFBE
  31. #define MOSFET_D_PIN 7
  32. #define FIL_RUNOUT_PIN 2
  33. #if NUM_RUNOUT_SENSORS > 1
  34. #define FIL_RUNOUT2_PIN 15 // Creality CR-X can use dual runout sensors
  35. #endif
  36. #define SD_DETECT_PIN 49 // Always define onboard SD detect
  37. #define PS_ON_PIN 40 // Used by CR2020 Industrial series
  38. #if ENABLED(CASE_LIGHT_ENABLE) && !defined(CASE_LIGHT_PIN)
  39. #define CASE_LIGHT_PIN 65
  40. #endif
  41. #include "pins_RAMPS.h"
  42. #ifndef BEEPER_PIN
  43. #define BEEPER_PIN 37 // Always define beeper pin so Play Tone works with ExtUI
  44. #endif
  45. #define EXP1_PIN 65 // A11 - Used by CR2020 Industrial series for case
  46. #define EXP2_PIN 66 // A12
  47. #define EXP3_PIN 11 // SERVO0_PIN
  48. #define EXP4_PIN 12 // PS_ON_PIN
  49. #define SUICIDE_PIN 12 // Used by CR2020 Industrial series
  50. #define SUICIDE_PIN_INVERTING true // Used by CR2020 Industrial series