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

pins_BRAINWAVE.h 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. * Brainwave 1.0 pin assignments (AT90USB646)
  24. *
  25. * Requires hardware bundle for Arduino:
  26. * https://github.com/unrepentantgeek/brainwave-arduino
  27. */
  28. #ifndef __AVR_AT90USB646__
  29. #error Oops! Make sure you have 'Brainwave' selected from the 'Tools -> Boards' menu.
  30. #endif
  31. #define X_STEP_PIN 27
  32. #define X_DIR_PIN 29
  33. #define X_ENABLE_PIN 28
  34. #define X_STOP_PIN 7
  35. #define X_ATT_PIN 26
  36. #define Y_STEP_PIN 31
  37. #define Y_DIR_PIN 33
  38. #define Y_ENABLE_PIN 32
  39. #define Y_STOP_PIN 6
  40. #define Y_ATT_PIN 30
  41. #define Z_STEP_PIN 17
  42. #define Z_DIR_PIN 19
  43. #define Z_ENABLE_PIN 18
  44. #define Z_STOP_PIN 5
  45. #define Z_ATT_PIN 16
  46. #define E0_STEP_PIN 21
  47. #define E0_DIR_PIN 23
  48. #define E0_ENABLE_PIN 22
  49. #define E0_ATT_PIN 20
  50. #define HEATER_0_PIN 4 // Extruder
  51. #define HEATER_1_PIN -1
  52. #define HEATER_2_PIN -1
  53. #define HEATER_BED_PIN 38 // Bed
  54. #define FAN_PIN 3 // Fan
  55. #define TEMP_0_PIN 7 // Extruder / Analog pin numbering
  56. #define TEMP_1_PIN -1
  57. #define TEMP_2_PIN -1
  58. #define TEMP_BED_PIN 6 // Bed / Analog pin numbering
  59. #define SDPOWER -1
  60. #define SDSS -1
  61. #define LED_PIN 39
  62. #define PS_ON_PIN -1
  63. #define KILL_PIN -1
  64. #if DISABLED(SDSUPPORT)
  65. // these pins are defined in the SD library if building with SD support
  66. #define SCK_PIN 9
  67. #define MISO_PIN 11
  68. #define MOSI_PIN 10
  69. #endif