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_TEENSY31_32.h 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. * Teensy 3.1 (MK20DX256) and Teensy 3.2 (MK20DX256) Breadboard pin assignments
  24. * Requires the Teensyduino software with Teensy 3.1 or Teensy 3.2 selected in Arduino IDE!
  25. * http://www.pjrc.com/teensy/teensyduino.html
  26. ****************************************************************************************/
  27. #if !IS_32BIT_TEENSY
  28. #error "Oops! Select 'Teensy 3.1' or 'Teensy 3.2' in 'Tools > Board.'"
  29. #endif
  30. #if IS_TEENSY32
  31. #define BOARD_NAME "Teensy3.2"
  32. #endif
  33. #define AT90USB 1286 // Disable MarlinSerial etc.
  34. #define USBCON //1286 // Disable MarlinSerial etc.
  35. //
  36. // Limit Switches
  37. //
  38. #define X_STOP_PIN 3
  39. #define Y_STOP_PIN 4
  40. #define Z_STOP_PIN 5
  41. //
  42. // Steppers
  43. //
  44. #define X_STEP_PIN 5
  45. #define X_DIR_PIN 6
  46. #define X_ENABLE_PIN 2
  47. #define Y_STEP_PIN 7
  48. #define Y_DIR_PIN 8
  49. #define Y_ENABLE_PIN 2
  50. #define Z_STEP_PIN 9
  51. #define Z_DIR_PIN 10
  52. #define Z_ENABLE_PIN 2
  53. #define E0_STEP_PIN 11
  54. #define E0_DIR_PIN 12
  55. #define E0_ENABLE_PIN 2
  56. // #define E1_STEP_PIN 33
  57. // #define E1_DIR_PIN 34
  58. // #define E1_ENABLE_PIN 35
  59. #define HEATER_0_PIN 20
  60. // #define HEATER_1_PIN 36
  61. #define HEATER_BED_PIN 21
  62. #ifndef FAN_PIN
  63. #define FAN_PIN 22
  64. #endif
  65. #define TEMP_0_PIN 14 // Extruder / Analog pin numbering: 2 => A2
  66. // #define TEMP_1_PIN 0
  67. #define TEMP_BED_PIN 15 // Bed / Analog pin numbering
  68. // #define SDSS 16 // 8
  69. #define LED_PIN 13
  70. #define PS_ON_PIN -1
  71. #define ALARM_PIN -1
  72. // #define FILWIDTH_PIN 6
  73. // #define SOL1_PIN 28
  74. #if 0
  75. // Pretty sure this is obsolete!
  76. // Please use Marlin 1.1.x pins files as reference for new pins files.
  77. #ifndef SDSUPPORT
  78. // these are defined in the SD library if building with SD support
  79. #define SCK_PIN 13
  80. #define MISO_PIN 12
  81. #define MOSI_PIN 11
  82. #endif
  83. #endif
  84. /*
  85. #ifdef ULTRA_LCD
  86. #define LCD_PINS_RS 40
  87. #define LCD_PINS_ENABLE 41
  88. #define LCD_PINS_D4 42
  89. #define LCD_PINS_D5 43
  90. #define LCD_PINS_D6 44
  91. #define LCD_PINS_D7 45
  92. #define BTN_EN1 46
  93. #define BTN_EN2 47
  94. #define BTN_ENC 48
  95. #endif
  96. */