Asse x non funziona September 15, 2014 02:13PM |
Registered: 9 years ago Posts: 10 |
Re: Asse x non funziona September 15, 2014 02:32PM |
Registered: 10 years ago Posts: 6,409 |
Re: Asse x non funziona September 15, 2014 02:35PM |
Registered: 9 years ago Posts: 10 |
Re: Asse x non funziona September 15, 2014 02:39PM |
Registered: 10 years ago Posts: 6,409 |
Re: Asse x non funziona September 15, 2014 02:46PM |
Registered: 9 years ago Posts: 10 |
Re: Asse x non funziona September 15, 2014 02:50PM |
Registered: 10 years ago Posts: 6,409 |
Re: Asse x non funziona September 15, 2014 02:57PM |
Registered: 9 years ago Posts: 10 |
Re: Asse x non funziona September 15, 2014 04:31PM |
Registered: 10 years ago Posts: 6,409 |
/**************************************************************************************** * Arduino Mega pin assignment * ****************************************************************************************/ #if MOTHERBOARD == 3 || MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 36 || MOTHERBOARD == 77 || MOTHERBOARD == 67 || MOTHERBOARD == 68 #define KNOWN_BOARD 1 //////////////////FIX THIS////////////// #ifndef __AVR_ATmega1280__ #ifndef __AVR_ATmega2560__ #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu. #endif #endif // uncomment one of the following lines for RAMPS v1.3 or v1.0, comment both for v1.2 or 1.1 // #define RAMPS_V_1_3 // #define RAMPS_V_1_0 #if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 36 || MOTHERBOARD == 77 || MOTHERBOARD == 67 || MOTHERBOARD == 68 #define LARGE_FLASH true #if MOTHERBOARD == 77 #define X_STEP_PIN 54 #define X_DIR_PIN 55 #define X_ENABLE_PIN 38 #define X_MIN_PIN 3 #define X_MAX_PIN -1 //2 //Max endstops default to disabled "-1", set to commented value to enable. #define Y_STEP_PIN 60 #define Y_DIR_PIN 61 #define Y_ENABLE_PIN 56 #define Y_MIN_PIN 14 #define Y_MAX_PIN -1 //15 #define Z_STEP_PIN 46 #define Z_DIR_PIN 48 #define Z_ENABLE_PIN 63 #define Z_MIN_PIN 18 #define Z_MAX_PIN -1 #define Y2_STEP_PIN 36 #define Y2_DIR_PIN 34 #define Y2_ENABLE_PIN 30 #define Z2_STEP_PIN 36 #define Z2_DIR_PIN 34 #define Z2_ENABLE_PIN 30 #define E0_STEP_PIN 26 #define E0_DIR_PIN 28 #define E0_ENABLE_PIN 24 #define E1_STEP_PIN 36 #define E1_DIR_PIN 34 #define E1_ENABLE_PIN 30 #define SDPOWER -1 #define SDSS 25//53 #define LED_PIN 13 #define BEEPER 33 #else #define X_STEP_PIN 54 #define X_DIR_PIN 55 #define X_ENABLE_PIN 38 #define X_MIN_PIN 3 #define X_MAX_PIN 2 #define Y_STEP_PIN 60 #define Y_DIR_PIN 61 #define Y_ENABLE_PIN 56 #define Y_MIN_PIN 14 #define Y_MAX_PIN 15 #define Z_STEP_PIN 46 #define Z_DIR_PIN 48 #define Z_ENABLE_PIN 62 #define Z_MIN_PIN 18 #define Z_MAX_PIN 19 #define Y2_STEP_PIN 36 #define Y2_DIR_PIN 34 #define Y2_ENABLE_PIN 30 #define Z2_STEP_PIN 36 #define Z2_DIR_PIN 34 #define Z2_ENABLE_PIN 30 #define E0_STEP_PIN 26 #define E0_DIR_PIN 28 #define E0_ENABLE_PIN 24 #define E1_STEP_PIN 36 #define E1_DIR_PIN 34 #define E1_ENABLE_PIN 30