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

pins_MEGATRONICS_2.h 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /**
  2. * MegaTronics v2.0 pin assignments
  3. */
  4. #ifndef __AVR_ATmega2560__
  5. #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
  6. #endif
  7. #define LARGE_FLASH true
  8. #define X_STEP_PIN 26
  9. #define X_DIR_PIN 27
  10. #define X_ENABLE_PIN 25
  11. #define X_MIN_PIN 37
  12. #define X_MAX_PIN 40
  13. #define Y_STEP_PIN 4 // A6
  14. #define Y_DIR_PIN 54 // A0
  15. #define Y_ENABLE_PIN 5
  16. #define Y_MIN_PIN 41
  17. #define Y_MAX_PIN 38
  18. #define Z_STEP_PIN 56 // A2
  19. #define Z_DIR_PIN 60 // A6
  20. #define Z_ENABLE_PIN 55 // A1
  21. #define Z_MIN_PIN 18
  22. #define Z_MAX_PIN 19
  23. #define E0_STEP_PIN 35
  24. #define E0_DIR_PIN 36
  25. #define E0_ENABLE_PIN 34
  26. #define E1_STEP_PIN 29
  27. #define E1_DIR_PIN 39
  28. #define E1_ENABLE_PIN 28
  29. #define E2_STEP_PIN 23
  30. #define E2_DIR_PIN 24
  31. #define E2_ENABLE_PIN 22
  32. #define SDPOWER -1
  33. #define SDSS 53
  34. #define LED_PIN 13
  35. #define FAN_PIN 7
  36. #define FAN2_PIN 6
  37. #define PS_ON_PIN 12
  38. #define KILL_PIN -1
  39. #define HEATER_0_PIN 9 // EXTRUDER 1
  40. #define HEATER_1_PIN 8 // EXTRUDER 2
  41. #define HEATER_2_PIN -1
  42. #if TEMP_SENSOR_0 == -1
  43. #define TEMP_0_PIN 4 // ANALOG NUMBERING
  44. #else
  45. #define TEMP_0_PIN 13 // ANALOG NUMBERING
  46. #endif
  47. #if TEMP_SENSOR_1 == -1
  48. #define TEMP_1_PIN 8 // ANALOG NUMBERING
  49. #else
  50. #define TEMP_1_PIN 15 // ANALOG NUMBERING
  51. #endif
  52. #define TEMP_2_PIN -1 // ANALOG NUMBERING
  53. #define HEATER_BED_PIN 10 // BED
  54. #if TEMP_SENSOR_BED == -1
  55. #define TEMP_BED_PIN 8 // ANALOG NUMBERING
  56. #else
  57. #define TEMP_BED_PIN 14 // ANALOG NUMBERING
  58. #endif
  59. #define BEEPER 64
  60. #define LCD_PINS_RS 14
  61. #define LCD_PINS_ENABLE 15
  62. #define LCD_PINS_D4 30
  63. #define LCD_PINS_D5 31
  64. #define LCD_PINS_D6 32
  65. #define LCD_PINS_D7 33
  66. // Buttons are directly attached using keypad
  67. #define BTN_EN1 61
  68. #define BTN_EN2 59
  69. #define BTN_ENC 43 //the click
  70. #define BLEN_C 2
  71. #define BLEN_B 1
  72. #define BLEN_A 0
  73. #define SDCARDDETECT -1 // Megatronics does not use this port