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

pins_MEGATRONICS.h 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /**
  2. * MegaTronics 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 28
  10. #define X_ENABLE_PIN 24
  11. #define X_MIN_PIN 41
  12. #define X_MAX_PIN 37
  13. #define Y_STEP_PIN 60 // A6
  14. #define Y_DIR_PIN 61 // A7
  15. #define Y_ENABLE_PIN 22
  16. #define Y_MIN_PIN 14
  17. #define Y_MAX_PIN 15
  18. #define Z_STEP_PIN 54 // A0
  19. #define Z_DIR_PIN 55 // A1
  20. #define Z_ENABLE_PIN 56 // A2
  21. #define Z_MIN_PIN 18
  22. #define Z_MAX_PIN 19
  23. #define E0_STEP_PIN 31
  24. #define E0_DIR_PIN 32
  25. #define E0_ENABLE_PIN 38
  26. #define E1_STEP_PIN 34
  27. #define E1_DIR_PIN 36
  28. #define E1_ENABLE_PIN 30
  29. #define SDPOWER -1
  30. #define SDSS 53
  31. #define LED_PIN 13
  32. #define FAN_PIN 7 // IO pin. Buffer needed
  33. #define PS_ON_PIN 12
  34. #define KILL_PIN -1
  35. #define HEATER_0_PIN 9 // EXTRUDER 1
  36. #define HEATER_1_PIN 8 // EXTRUDER 2 (FAN On Sprinter)
  37. #define HEATER_2_PIN -1
  38. #if TEMP_SENSOR_0 == -1
  39. #define TEMP_0_PIN 8 // ANALOG NUMBERING
  40. #else
  41. #define TEMP_0_PIN 13 // ANALOG NUMBERING
  42. #endif
  43. #define TEMP_1_PIN 15 // ANALOG NUMBERING
  44. #define TEMP_2_PIN -1 // ANALOG NUMBERING
  45. #define HEATER_BED_PIN 10 // BED
  46. #define TEMP_BED_PIN 14 // ANALOG NUMBERING
  47. #define BEEPER 33 // Beeper on AUX-4
  48. #if defined(ULTRA_LCD) && defined(NEWPANEL)
  49. //arduino pin which triggers an piezzo beeper
  50. #define LCD_PINS_RS 16
  51. #define LCD_PINS_ENABLE 17
  52. #define LCD_PINS_D4 23
  53. #define LCD_PINS_D5 25
  54. #define LCD_PINS_D6 27
  55. #define LCD_PINS_D7 29
  56. //buttons are directly attached using AUX-2
  57. #define BTN_EN1 59
  58. #define BTN_EN2 64
  59. #define BTN_ENC 43 //the click
  60. #define BLEN_C 2
  61. #define BLEN_B 1
  62. #define BLEN_A 0
  63. #define SDCARDDETECT -1 // Ramps does not use this port
  64. //encoder rotation values
  65. #define encrot0 0
  66. #define encrot1 2
  67. #define encrot2 3
  68. #define encrot3 1
  69. #endif // ULTRA_LCD && NEWPANEL