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_TEENSYLU.h 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. /**
  2. * Teensylu 0.7 pin assignments (AT90USB1286)
  3. * Requires the Teensyduino software with Teensy++ 2.0 selected in Arduino IDE!
  4. * http://www.pjrc.com/teensy/teensyduino.html
  5. * See http://reprap.org/wiki/Printrboard for more info
  6. */
  7. #ifndef __AVR_AT90USB1286__
  8. #error Oops! Make sure you have 'Teensy++ 2.0' selected from the 'Tools -> Boards' menu.
  9. #endif
  10. #ifdef AT90USBxx_TEENSYPP_ASSIGNMENTS // use Teensyduino Teensy++2.0 pin assignments instead of Marlin traditional.
  11. #error These Teensylu assignments depend on traditional Marlin assignments, not AT90USBxx_TEENSYPP_ASSIGNMENTS in fastio.h
  12. #endif
  13. #define AT90USB 1286 // Disable MarlinSerial etc.
  14. #define LARGE_FLASH true
  15. #define X_STEP_PIN 0
  16. #define X_DIR_PIN 1
  17. #define X_ENABLE_PIN 39
  18. #define Y_STEP_PIN 2
  19. #define Y_DIR_PIN 3
  20. #define Y_ENABLE_PIN 38
  21. #define Z_STEP_PIN 4
  22. #define Z_DIR_PIN 5
  23. #define Z_ENABLE_PIN 23
  24. #define E0_STEP_PIN 6
  25. #define E0_DIR_PIN 7
  26. #define E0_ENABLE_PIN 19
  27. #define HEATER_0_PIN 21 // Extruder
  28. #define HEATER_1_PIN 46
  29. #define HEATER_2_PIN 47
  30. #define HEATER_BED_PIN 20
  31. // If soft or fast PWM is off then use Teensyduino pin numbering, Marlin
  32. // fastio pin numbering otherwise
  33. #ifdef FAN_SOFT_PWM || FAST_PWM_FAN
  34. #define FAN_PIN 22
  35. #else
  36. #define FAN_PIN 16
  37. #endif
  38. #define X_STOP_PIN 13
  39. #define Y_STOP_PIN 14
  40. #define Z_STOP_PIN 15
  41. #define TEMP_0_PIN 7 // Extruder / Analog pin numbering
  42. #define TEMP_BED_PIN 6 // Bed / Analog pin numbering
  43. #define TEMP_1_PIN -1
  44. #define TEMP_2_PIN -1
  45. #define SDPOWER -1
  46. #define SDSS 8
  47. #define LED_PIN -1
  48. #define PS_ON_PIN -1
  49. #define KILL_PIN -1
  50. #define ALARM_PIN -1
  51. #ifndef SDSUPPORT
  52. // these pins are defined in the SD library if building with SD support
  53. #define SCK_PIN 9
  54. #define MISO_PIN 11
  55. #define MOSI_PIN 10
  56. #endif
  57. #if defined(ULTRA_LCD) && defined(NEWPANEL)
  58. //we have no buzzer installed
  59. #define BEEPER -1
  60. //LCD Pins
  61. #ifdef LCD_I2C_PANELOLU2
  62. #define BTN_EN1 27 //RX1 - fastio.h pin mapping 27
  63. #define BTN_EN2 26 //TX1 - fastio.h pin mapping 26
  64. #define BTN_ENC 43 //A3 - fastio.h pin mapping 43
  65. #define SDSS 40 //use SD card on Panelolu2 (Teensyduino pin mapping)
  66. #endif // LCD_I2C_PANELOLU2
  67. //not connected to a pin
  68. #define SDCARDDETECT -1
  69. #endif // ULTRA_LCD && NEWPANEL