|
|
|
@ -121,24 +121,24 @@
|
|
|
|
|
* If undefined software serial is used according to the pins below
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Software serial
|
|
|
|
|
*/
|
|
|
|
|
//
|
|
|
|
|
// Software serial
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
// P2_08 E1-Step
|
|
|
|
|
// P2_13 E1-Dir
|
|
|
|
|
// P2_08 E1-Step
|
|
|
|
|
// P2_13 E1-Dir
|
|
|
|
|
|
|
|
|
|
#define X_SERIAL_TX_PIN P2_13
|
|
|
|
|
#define X_SERIAL_RX_PIN P2_13
|
|
|
|
|
#define X_SERIAL_TX_PIN P2_13
|
|
|
|
|
#define X_SERIAL_RX_PIN P2_13
|
|
|
|
|
|
|
|
|
|
#define Y_SERIAL_TX_PIN P0_00
|
|
|
|
|
#define Y_SERIAL_RX_PIN P0_00
|
|
|
|
|
#define Y_SERIAL_TX_PIN P0_00
|
|
|
|
|
#define Y_SERIAL_RX_PIN P0_00
|
|
|
|
|
|
|
|
|
|
#define Z_SERIAL_TX_PIN P0_01
|
|
|
|
|
#define Z_SERIAL_RX_PIN P0_01
|
|
|
|
|
#define Z_SERIAL_TX_PIN P0_01
|
|
|
|
|
#define Z_SERIAL_RX_PIN P0_01
|
|
|
|
|
|
|
|
|
|
#define E0_SERIAL_TX_PIN P2_08
|
|
|
|
|
#define E0_SERIAL_RX_PIN P2_08
|
|
|
|
|
#define E0_SERIAL_TX_PIN P2_08
|
|
|
|
|
#define E0_SERIAL_RX_PIN P2_08
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@ -254,9 +254,9 @@
|
|
|
|
|
#error "LASER_FEATURE requires 3 free servo pins."
|
|
|
|
|
#endif
|
|
|
|
|
#endif
|
|
|
|
|
#define SPINDLE_LASER_ENA_PIN SERVO1_PIN // (6) Pin should have a pullup/pulldown!
|
|
|
|
|
#define SPINDLE_LASER_PWM_PIN SERVO3_PIN // (4) MUST BE HARDWARE PWM
|
|
|
|
|
#define SPINDLE_DIR_PIN SERVO2_PIN // (5)
|
|
|
|
|
#define SPINDLE_LASER_ENA_PIN SERVO1_PIN // (6) Pin should have a pullup/pulldown!
|
|
|
|
|
#define SPINDLE_LASER_PWM_PIN SERVO3_PIN // (4) MUST BE HARDWARE PWM
|
|
|
|
|
#define SPINDLE_DIR_PIN SERVO2_PIN // (5)
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
@ -309,10 +309,10 @@
|
|
|
|
|
|
|
|
|
|
#elif HAS_SPI_LCD
|
|
|
|
|
|
|
|
|
|
//#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3
|
|
|
|
|
//#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3
|
|
|
|
|
//#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3
|
|
|
|
|
//#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS)
|
|
|
|
|
//#define SCK_PIN P0_15 // (52) system defined J3-9 & AUX-3
|
|
|
|
|
//#define MISO_PIN P0_17 // (50) system defined J3-10 & AUX-3
|
|
|
|
|
//#define MOSI_PIN P0_18 // (51) system defined J3-10 & AUX-3
|
|
|
|
|
//#define SS_PIN P1_23 // (53) system defined J3-5 & AUX-3 (Sometimes called SDSS)
|
|
|
|
|
|
|
|
|
|
#if ENABLED(FYSETC_MINI_12864)
|
|
|
|
|
#define BEEPER_PIN P1_01
|
|
|
|
@ -337,10 +337,10 @@
|
|
|
|
|
#define SHIFT_LD P1_31 // (49) J3-1 & AUX-3 (NOT 5V tolerant)
|
|
|
|
|
#endif
|
|
|
|
|
#else
|
|
|
|
|
//#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4
|
|
|
|
|
//#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4
|
|
|
|
|
//#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4
|
|
|
|
|
//#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4
|
|
|
|
|
//#define SHIFT_CLK P3_26 // (31) J3-2 & AUX-4
|
|
|
|
|
//#define SHIFT_LD P3_25 // (33) J3-4 & AUX-4
|
|
|
|
|
//#define SHIFT_OUT P2_11 // (35) J3-3 & AUX-4
|
|
|
|
|
//#define SHIFT_EN P1_22 // (41) J5-4 & AUX-4
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#if ANY(VIKI2, miniVIKI)
|
|
|
|
@ -365,7 +365,7 @@
|
|
|
|
|
//#define FORCE_SOFT_SPI // Use this if default of hardware SPI causes display problems
|
|
|
|
|
// results in LCD soft SPI mode 3, SD soft SPI mode 0
|
|
|
|
|
|
|
|
|
|
#define LCD_RESET_PIN P0_16 // Must be high or open for LCD to operate normally.
|
|
|
|
|
#define LCD_RESET_PIN P0_16 // Must be high or open for LCD to operate normally.
|
|
|
|
|
|
|
|
|
|
#if EITHER(FYSETC_MINI_12864_1_2, FYSETC_MINI_12864_2_0)
|
|
|
|
|
#ifndef RGB_LED_R_PIN
|
|
|
|
@ -378,7 +378,7 @@
|
|
|
|
|
#define RGB_LED_B_PIN P1_08
|
|
|
|
|
#endif
|
|
|
|
|
#elif ENABLED(FYSETC_MINI_12864_2_1)
|
|
|
|
|
#define NEOPIXEL_PIN P1_00
|
|
|
|
|
#define NEOPIXEL_PIN P1_00
|
|
|
|
|
#endif
|
|
|
|
|
#else
|
|
|
|
|
#define DOGLCD_CS P0_26 // (63) J5-3 & AUX-2
|
|
|
|
|