Guest User

Untitled

a guest
Jul 30th, 2018
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.17 KB | None | 0 0
  1.  #if HAS_DRIVER(TMC2208)
  2. +  //Hardware serial communication port.
  3. +  //If undefined software serial is used according to the pins below
  4. +  #define X_HARDWARE_SERIAL  Serial // P0.3(RX0) - AUX1->LPC_UART0
  5. +
  6. +  //Software serial
  7.    // The shortage of pins becomes apparent.
  8.    // Worst case you may have to give up the LCD
  9.    // RX pins need to be interrupt capable
  10. -   #define X_SERIAL_TX_PIN    P1_22 // J8-2
  11. -   #define X_SERIAL_RX_PIN    P2_12 // J8-4 Interrupt Capable
  12. -   #define Y_SERIAL_TX_PIN    P1_23 // J8-3
  13. -   #define Y_SERIAL_RX_PIN    P2_11 // J8-5 Interrupt Capable
  14. -   #define Z_SERIAL_TX_PIN    P2_12 // J8-4
  15. -   #define Z_SERIAL_RX_PIN    P0_25 // TH3
  16. -   #define E0_SERIAL_TX_PIN   P4_28 // J8-6
  17. -   #define E0_SERIAL_RX_PIN   P0_26 // TH4
  18. +  //#define X_SERIAL_TX_PIN    P1_22 // J8-2
  19. +  //#define X_SERIAL_RX_PIN    P2_12 // J8-4 Interrupt Capable
  20. +  //#define Y_SERIAL_TX_PIN    P1_23 // J8-3
  21. +  //#define Y_SERIAL_RX_PIN    P2_11 // J8-5 Interrupt Capable
  22. +  //#define Z_SERIAL_TX_PIN    P2_12 // J8-4
  23. +  //#define Z_SERIAL_RX_PIN    P0_25 // TH3
  24. +  //#define E0_SERIAL_TX_PIN   P4_28 // J8-6
  25. +  //#define E0_SERIAL_RX_PIN   P0_26 // TH4
  26.  #endif
Advertisement
Add Comment
Please, Sign In to add comment