Controlling stepper motors with LabVIEW+RAMPS 1.4 April 30, 2019 06:55AM |
Registered: 4 years ago Posts: 2 |
Re: Controlling stepper motors with LabVIEW+RAMPS 1.4 April 30, 2019 07:07AM |
Admin Registered: 13 years ago Posts: 7,003 |
// // Steppers // #define X_STEP_PIN 54 #define X_DIR_PIN 55 #define X_ENABLE_PIN 38 #ifndef X_CS_PIN #define X_CS_PIN 53 #endif #define Y_STEP_PIN 60 #define Y_DIR_PIN 61 #define Y_ENABLE_PIN 56 #ifndef Y_CS_PIN #define Y_CS_PIN 49 #endif #define Z_STEP_PIN 46 #define Z_DIR_PIN 48 #define Z_ENABLE_PIN 62 #ifndef Z_CS_PIN #define Z_CS_PIN 40 #endif #define E0_STEP_PIN 26 #define E0_DIR_PIN 28 #define E0_ENABLE_PIN 24 #ifndef E0_CS_PIN #define E0_CS_PIN 42 #endif #define E1_STEP_PIN 36 #define E1_DIR_PIN 34 #define E1_ENABLE_PIN 30 #ifndef E1_CS_PIN #define E1_CS_PIN 44 #endif