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

pins_BRAINWAVE_PRO.h 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 Pro pin assignments (AT90USB1286)
  24. *
  25. * Requires hardware bundle for Arduino:
  26. * https://github.com/unrepentantgeek/brainwave-arduino
  27. */
  28. #ifndef __AVR_AT90USB1286__
  29. #error "Oops! Make sure you have 'Brainwave Pro' selected from the 'Tools -> Boards' menu."
  30. #endif
  31. #include "fastio.h"
  32. #ifndef AT90USBxx_TEENSYPP_ASSIGNMENTS // use Teensyduino Teensy++2.0 pin assignments instead of Marlin alphabetical.
  33. #error "Uncomment #define AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h for this config"
  34. #endif
  35. #define BOARD_NAME "Brainwave Pro"
  36. #define LARGE_FLASH true
  37. #define X_STEP_PIN 33
  38. #define X_DIR_PIN 32
  39. #define X_ENABLE_PIN 11
  40. #define X_STOP_PIN 47
  41. #define Y_STEP_PIN 31
  42. #define Y_DIR_PIN 30
  43. #define Y_ENABLE_PIN 8
  44. #define Y_STOP_PIN 18
  45. #define Z_STEP_PIN 29
  46. #define Z_DIR_PIN 28
  47. #define Z_ENABLE_PIN 37
  48. #define Z_MAX_PIN 36
  49. #define Z_MIN_PROBE_PIN 17 // Bed Z probe
  50. #define E0_STEP_PIN 35
  51. #define E0_DIR_PIN 34
  52. #define E0_ENABLE_PIN 13
  53. #define HEATER_0_PIN 15
  54. #define HEATER_BED_PIN 14 // Bed
  55. #define FAN_PIN 16 // Fan, PWM
  56. #define TEMP_0_PIN 2 // Extruder / Analog pin numbering
  57. #define TEMP_1_PIN 1 // Spare / Analog pin numbering
  58. #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
  59. #define SDSS 20
  60. #define LED_PIN 19
  61. #define SD_DETECT_PIN 12
  62. #if DISABLED(SDSUPPORT)
  63. // these pins are defined in the SD library if building with SD support
  64. #define SCK_PIN 21
  65. #define MISO_PIN 23
  66. #define MOSI_PIN 22
  67. #endif