My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pins_RAMPS4DUE.h 1.8KB

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