My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

pins_BRAINWAVE_PRO.h 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. #if DISABLED(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 USBCON 1286 // Disable MarlinSerial etc.
  37. #define LARGE_FLASH true
  38. //
  39. // Limit Switches
  40. //
  41. #define X_STOP_PIN 47
  42. #define Y_STOP_PIN 18
  43. #define Z_MAX_PIN 36
  44. //
  45. // Z Probe (when not Z_MIN_PIN)
  46. //
  47. #ifndef Z_MIN_PROBE_PIN
  48. #define Z_MIN_PROBE_PIN 17
  49. #endif
  50. //
  51. // Steppers
  52. //
  53. #define X_STEP_PIN 33
  54. #define X_DIR_PIN 32
  55. #define X_ENABLE_PIN 11
  56. #define Y_STEP_PIN 31
  57. #define Y_DIR_PIN 30
  58. #define Y_ENABLE_PIN 8
  59. #define Z_STEP_PIN 29
  60. #define Z_DIR_PIN 28
  61. #define Z_ENABLE_PIN 37
  62. #define E0_STEP_PIN 35
  63. #define E0_DIR_PIN 34
  64. #define E0_ENABLE_PIN 13
  65. //
  66. // Temperature Sensors
  67. //
  68. #define TEMP_0_PIN 2 // Analog Input
  69. #define TEMP_1_PIN 1 // Analog Input
  70. #define TEMP_BED_PIN 0 // Analog Input
  71. //
  72. // Heaters / Fans
  73. //
  74. #define HEATER_0_PIN 15
  75. #define HEATER_BED_PIN 14 // Bed
  76. #define FAN_PIN 16 // Fan, PWM
  77. //
  78. // Misc. Functions
  79. //
  80. #define SDSS 20
  81. #define SD_DETECT_PIN 12
  82. #define LED_PIN 19