My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

pins_GEN7_14.h 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. * Gen7 v1.4 pin assignments
  24. */
  25. #if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega644__) && !defined(__AVR_ATmega1284P__)
  26. #error "Oops! Make sure you have 'Gen7' selected from the 'Tools -> Boards' menu."
  27. #endif
  28. #define BOARD_NAME "Gen7 v1.4"
  29. #define GEN7_VERSION 14 // v1.4
  30. //
  31. // Limit switches
  32. //
  33. #define X_STOP_PIN 0
  34. #define Y_STOP_PIN 1
  35. #define Z_STOP_PIN 2
  36. //
  37. // Steppers
  38. //
  39. #define X_STEP_PIN 29
  40. #define X_DIR_PIN 28
  41. #define X_ENABLE_PIN 25
  42. #define Y_STEP_PIN 27
  43. #define Y_DIR_PIN 26
  44. #define Y_ENABLE_PIN 25
  45. #define Z_STEP_PIN 23
  46. #define Z_DIR_PIN 22
  47. #define Z_ENABLE_PIN 25
  48. #define E0_STEP_PIN 19
  49. #define E0_DIR_PIN 18
  50. #define E0_ENABLE_PIN 25
  51. //
  52. // Temperature Sensors
  53. //
  54. #define TEMP_0_PIN 1 // Analog Input
  55. #define TEMP_BED_PIN 0 // Analog Input
  56. //
  57. // Heaters
  58. //
  59. #define HEATER_0_PIN 4
  60. #define HEATER_BED_PIN 3
  61. //
  62. // Misc. Functions
  63. //
  64. #define PS_ON_PIN 15
  65. // A pin for debugging
  66. #define DEBUG_PIN 0
  67. // RS485 pins
  68. #define TX_ENABLE_PIN 12
  69. #define RX_ENABLE_PIN 13