My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pins_SAV_MKI.h 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /**
  2. * SAV MkI pin assignments (AT90USB1286)
  3. * Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
  4. * http://www.pjrc.com/teensy/teensyduino.html
  5. * RepRap Clone Wars project board.
  6. */
  7. #ifndef __AVR_AT90USB1286__
  8. #error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
  9. #endif
  10. #define AT90USB 1286 // Disable MarlinSerial etc.
  11. #define LARGE_FLASH true
  12. #define X_STEP_PIN 0
  13. #define X_DIR_PIN 1
  14. #define X_ENABLE_PIN 39
  15. #define Y_STEP_PIN 2
  16. #define Y_DIR_PIN 3
  17. #define Y_ENABLE_PIN 38
  18. #define Z_STEP_PIN 4
  19. #define Z_DIR_PIN 5
  20. #define Z_ENABLE_PIN 23
  21. #define E0_STEP_PIN 6
  22. #define E0_DIR_PIN 7
  23. #define E0_ENABLE_PIN 19
  24. #define HEATER_0_PIN 21 // Extruder
  25. #define HEATER_1_PIN -1
  26. #define HEATER_2_PIN -1
  27. #define HEATER_BED_PIN 20 // Bed
  28. #define FAN_PIN 16 // Fan -- from Teensyduino environment.
  29. // For the fan and Teensyduino uses a different pin mapping.
  30. #define X_STOP_PIN 13
  31. #define Y_STOP_PIN 14
  32. #define Z_STOP_PIN 15
  33. //#define Z_STOP_PIN 36 // For inductive sensor.
  34. #define TEMP_0_PIN 7 // Extruder / Analog pin numbering
  35. #define TEMP_BED_PIN 6 // Bed / Analog pin numbering
  36. #define TEMP_1_PIN -1
  37. #define TEMP_2_PIN -1
  38. #define SDPOWER -1
  39. #define SDSS 20 // PB0 - 8 in marlin env.
  40. #define LED_PIN -1
  41. #define PS_ON_PIN -1
  42. #define ALARM_PIN -1
  43. #define SDCARDDETECT -1
  44. #ifndef SDSUPPORT
  45. // these pins are defined in the SD library if building with SD support
  46. #define SCK_PIN 9
  47. #define MISO_PIN 11
  48. #define MOSI_PIN 10
  49. #endif
  50. #define BEEPER -1
  51. #define LCD_PINS_RS -1
  52. #define LCD_PINS_ENABLE -1
  53. #define LCD_PINS_D4 -1
  54. #define LCD_PINS_D5 -1
  55. #define LCD_PINS_D6 -1
  56. #define LCD_PINS_D7 -1
  57. #ifdef SAV_3DLCD
  58. // For LCD SHIFT register LCD
  59. #define SR_DATA_PIN 1
  60. #define SR_CLK_PIN 0
  61. #define BTN_EN1 41
  62. #define BTN_EN2 40
  63. #define BTN_ENC 12
  64. #define KILL_PIN 42 // A2 = 42 - teensy = 40
  65. #define HOME_PIN 44 // A4 = marlin 44 - teensy = 42
  66. #ifdef NUM_SERVOS
  67. #define SERVO0_PIN 41 // In teensy's pin definition for pinMode (in servo.cpp)
  68. #endif
  69. #endif // SAV_3DLCD