My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pins_BRAINWAVE_PRO.h 2.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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 LARGE_FLASH true
  36. #define X_STEP_PIN 33
  37. #define X_DIR_PIN 32
  38. #define X_ENABLE_PIN 11
  39. #define X_STOP_PIN 47
  40. #define Y_STEP_PIN 31
  41. #define Y_DIR_PIN 30
  42. #define Y_ENABLE_PIN 8
  43. #define Y_STOP_PIN 18
  44. #define Z_STEP_PIN 29
  45. #define Z_DIR_PIN 28
  46. #define Z_ENABLE_PIN 37
  47. #define Z_MAX_PIN 36
  48. #define Z_MIN_PROBE_PIN 17 // Bed Z probe
  49. #define E0_STEP_PIN 35
  50. #define E0_DIR_PIN 34
  51. #define E0_ENABLE_PIN 13
  52. #define HEATER_0_PIN 15
  53. #define HEATER_1_PIN -1
  54. #define HEATER_2_PIN -1
  55. #define HEATER_BED_PIN 14 // Bed
  56. #define FAN_PIN 16 // Fan, PWM
  57. #define TEMP_0_PIN 2 // Extruder / Analog pin numbering
  58. #define TEMP_1_PIN 1 // Spare / Analog pin numbering
  59. #define TEMP_2_PIN -1
  60. #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
  61. #define SDPOWER -1
  62. #define SDSS 20
  63. #define LED_PIN 19
  64. #define PS_ON_PIN -1
  65. #define KILL_PIN -1
  66. #define SD_DETECT_PIN 12
  67. #if DISABLED(SDSUPPORT)
  68. // these pins are defined in the SD library if building with SD support
  69. #define SCK_PIN 21
  70. #define MISO_PIN 23
  71. #define MOSI_PIN 22
  72. #endif