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

pins_RAMPS4DUE.h 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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. * Arduino Mega or Due with RAMPS4DUE pin assignments
  24. *
  25. * Applies to the following boards:
  26. *
  27. * RAMPS4DUE_EFB (Hotend, Fan, Bed)
  28. * RAMPS4DUE_EEB (Hotend0, Hotend1, Bed)
  29. * RAMPS4DUE_EFF (Hotend, Fan0, Fan1)
  30. * RAMPS4DUE_EEF (Hotend0, Hotend1, Fan)
  31. * RAMPS4DUE_SF (Spindle, Controller Fan)
  32. *
  33. * Differences between
  34. * RAMPS_14 | RAMPS4DUE
  35. * A13 | A9/D63 (shares the same pin with AUX2_4PIN)
  36. * A14 | A10/D64 (shares the same pin with AUX2_5PIN)
  37. * A15 | NC
  38. */
  39. #if !defined(__SAM3X8E__) && !defined(__AVR_ATmega2560__)
  40. #error "Oops! Select 'Arduino Due' or 'Arduino/Genuino Mega or Mega 2560' in 'Tools > Board.'"
  41. #endif
  42. #ifndef BOARD_NAME
  43. #define BOARD_NAME "RAMPS4DUE"
  44. #endif
  45. #define IS_RAMPS4DUE
  46. #include "pins_RAMPS.h"
  47. //
  48. // Temperature Sensors
  49. //
  50. #undef TEMP_0_PIN
  51. #define TEMP_0_PIN 9 // Analog Input
  52. #undef TEMP_1_PIN
  53. #define TEMP_1_PIN -1 // Analog Input
  54. #undef TEMP_BED_PIN
  55. #define TEMP_BED_PIN 10 // Analog Input