|
|
|
@ -294,31 +294,75 @@
|
|
|
|
|
* Software serial
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef X_SERIAL_TX_PIN
|
|
|
|
|
#define X_SERIAL_TX_PIN 40
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef X_SERIAL_RX_PIN
|
|
|
|
|
#define X_SERIAL_RX_PIN 63
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef X2_SERIAL_TX_PIN
|
|
|
|
|
#define X2_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef X2_SERIAL_RX_PIN
|
|
|
|
|
#define X2_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef Y_SERIAL_TX_PIN
|
|
|
|
|
#define Y_SERIAL_TX_PIN 59
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef Y_SERIAL_RX_PIN
|
|
|
|
|
#define Y_SERIAL_RX_PIN 64
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef Y2_SERIAL_TX_PIN
|
|
|
|
|
#define Y2_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef Y2_SERIAL_RX_PIN
|
|
|
|
|
#define Y2_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef Z_SERIAL_TX_PIN
|
|
|
|
|
#define Z_SERIAL_TX_PIN 42
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef Z_SERIAL_RX_PIN
|
|
|
|
|
#define Z_SERIAL_RX_PIN 65
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef Z2_SERIAL_TX_PIN
|
|
|
|
|
#define Z2_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef Z2_SERIAL_RX_PIN
|
|
|
|
|
#define Z2_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#ifndef E0_SERIAL_TX_PIN
|
|
|
|
|
#define E0_SERIAL_TX_PIN 44
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E0_SERIAL_RX_PIN
|
|
|
|
|
#define E0_SERIAL_RX_PIN 66
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E1_SERIAL_TX_PIN
|
|
|
|
|
#define E1_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E1_SERIAL_RX_PIN
|
|
|
|
|
#define E1_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E2_SERIAL_TX_PIN
|
|
|
|
|
#define E2_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E2_SERIAL_RX_PIN
|
|
|
|
|
#define E2_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E3_SERIAL_TX_PIN
|
|
|
|
|
#define E3_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E3_SERIAL_RX_PIN
|
|
|
|
|
#define E3_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E4_SERIAL_TX_PIN
|
|
|
|
|
#define E4_SERIAL_TX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#ifndef E4_SERIAL_RX_PIN
|
|
|
|
|
#define E4_SERIAL_RX_PIN -1
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//////////////////////////
|
|
|
|
|