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

pins_5DPRINT.h 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /**
  2. * 5DPrint D8 Driver board pin assignments
  3. *
  4. * https://bitbucket.org/makible/5dprint-d8-controller-board
  5. */
  6. #ifndef __AVR_AT90USB1286__
  7. #error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
  8. #endif
  9. #define AT90USB 1286 // Disable MarlinSerial etc.
  10. #define LARGE_FLASH true
  11. #define X_STEP_PIN 0
  12. #define X_DIR_PIN 1
  13. #define X_ENABLE_PIN 23
  14. #define X_STOP_PIN 37
  15. #define Y_STEP_PIN 2
  16. #define Y_DIR_PIN 3
  17. #define Y_ENABLE_PIN 19
  18. #define Y_STOP_PIN 36
  19. #define Z_STEP_PIN 4
  20. #define Z_DIR_PIN 5
  21. #define Z_ENABLE_PIN 18
  22. #define Z_STOP_PIN 39
  23. #define E0_STEP_PIN 6
  24. #define E0_DIR_PIN 7
  25. #define E0_ENABLE_PIN 17
  26. #define HEATER_0_PIN 21 // Extruder
  27. #define HEATER_1_PIN -1
  28. #define HEATER_2_PIN -1
  29. #define HEATER_BED_PIN 20 // Bed
  30. // You may need to change FAN_PIN to 16 because Marlin isn't using fastio.h
  31. // for the fan and Teensyduino uses a different pin mapping.
  32. #define FAN_PIN 16 // Fan
  33. #define TEMP_0_PIN 1 // Extruder / Analog pin numbering
  34. #define TEMP_BED_PIN 0 // Bed / Analog pin numbering
  35. #define TEMP_1_PIN -1
  36. #define TEMP_2_PIN -1
  37. #define SDPOWER -1
  38. #define LED_PIN -1
  39. #define PS_ON_PIN -1
  40. #define KILL_PIN -1
  41. #define ALARM_PIN -1
  42. // The SDSS pin uses a different pin mapping from file Sd2PinMap.h
  43. #define SDSS 20
  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. // Microstepping pins
  51. // Note that the pin mapping is not from fastio.h
  52. // See Sd2PinMap.h for the pin configurations
  53. #define X_MS1_PIN 25
  54. #define X_MS2_PIN 26
  55. #define Y_MS1_PIN 9
  56. #define Y_MS2_PIN 8
  57. #define Z_MS1_PIN 7
  58. #define Z_MS2_PIN 6
  59. #define E0_MS1_PIN 5
  60. #define E0_MS2_PIN 4