cambiare posizioni connettori December 21, 2014 12:42PM |
Registered: 10 years ago Posts: 252 |
Re: cambiare posizioni connettori December 21, 2014 12:48PM |
Registered: 10 years ago Posts: 6,409 |
#define TEMP_0_PIN 13 // ANALOG NUMBERING #define TEMP_1_PIN 15 // ANALOG NUMBERING
Re: cambiare posizioni connettori December 21, 2014 12:56PM |
Registered: 10 years ago Posts: 252 |
#define TEMP_0_PIN 6 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_1_PIN -1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!!
Re: cambiare posizioni connettori December 21, 2014 12:57PM |
Registered: 10 years ago Posts: 6,409 |
if motherboard == 33 || Motherboard == 34 ect ect
Re: cambiare posizioni connettori December 21, 2014 01:15PM |
Registered: 10 years ago Posts: 252 |
Re: cambiare posizioni connettori December 21, 2014 04:40PM |
Registered: 10 years ago Posts: 252 |
Re: cambiare posizioni connettori December 21, 2014 04:42PM |
Registered: 10 years ago Posts: 6,409 |
Re: cambiare posizioni connettori December 21, 2014 04:50PM |
Registered: 10 years ago Posts: 252 |
if MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 || MOTHERBOARD == 67 #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 #define SDPOWER -1 #define SDSS 53 #define LED_PIN 13 #endif #if MOTHERBOARD == 33 || MOTHERBOARD == 35 || MOTHERBOARD == 67 #define FAN_PIN 9 // (Sprinter config) #else #define FAN_PIN 4 // IO pin. Buffer needed #endif #if MOTHERBOARD == 77 #define FAN_PIN 8 #endif #if MOTHERBOARD == 35 #define CONTROLLERFAN_PIN 10 //Pin used for the fan to cool controller #endif #define PS_ON_PIN 12 #if defined(REPRAP_DISCOUNT_SMART_CONTROLLER) || defined(G3D_PANEL) #define KILL_PIN 41 #else #define KILL_PIN -1 #endif #if MOTHERBOARD == 35 #define HEATER_0_PIN 8 #else #define HEATER_0_PIN 10 // EXTRUDER 1 #endif #if MOTHERBOARD == 33 || MOTHERBOARD == 67 #define HEATER_1_PIN -1 #else #define HEATER_1_PIN 9 // EXTRUDER 2 (FAN On Sprinter) #endif #define HEATER_2_PIN -1 #if MOTHERBOARD == 77 #define HEATER_0_PIN 10 #define HEATER_1_PIN 12 #define HEATER_2_PIN 6 #endif #define TEMP_0_PIN 15 // ANALOG NUMBERING #define TEMP_1_PIN 13 // ANALOG NUMBERING #define TEMP_2_PIN -1 // ANALOG NUMBERING #if MOTHERBOARD == 35 #define HEATER_BED_PIN -1 // NO BED #else #if MOTHERBOARD == 77 #define HEATER_BED_PIN 9 // BED #else #define HEATER_BED_PIN 8 // BED #endif #endif #define TEMP_BED_PIN 14 // ANALOG NUMBERING #ifdef NUM_SERVOS #define SERVO0_PIN 11 #if NUM_SERVOS > 1 #define SERVO1_PIN 6 #endif #if NUM_SERVOS > 2 #define SERVO2_PIN 5 #endif #if NUM_SERVOS > 3 #define SERVO3_PIN 4 #endif #endif #ifdef TEMP_STAT_LEDS #if MOTHERBOARD == 67 #define STAT_LED_RED 6 #define STAT_LED_BLUE 11 #endif #endif #ifdef ULTRA_LCD #ifdef NEWPANEL #define LCD_PINS_RS 16 #define LCD_PINS_ENABLE 17 #define LCD_PINS_D4 23 #define LCD_PINS_D5 25 #define LCD_PINS_D6 27 #define LCD_PINS_D7 29 #ifdef REPRAP_DISCOUNT_SMART_CONTROLLER #define BEEPER 37 #define BTN_EN1 33 #define BTN_EN2 31 #define BTN_ENC 35 #define SDCARDDETECT 49 #elif defined(LCD_I2C_PANELOLU2) #define BTN_EN1 47 //reverse if the encoder turns the wrong way. #define BTN_EN2 43 #define BTN_ENC 32 #define SDSS 53 #define SDCARDDETECT -1 #define KILL_PIN 41 #elif defined(LCD_I2C_VIKI) #define BTN_EN1 22 //reverse if the encoder turns the wrong way. #define BTN_EN2 7 #define BTN_ENC -1 #define SDSS 53 #define SDCARDDETECT 49 #else //arduino pin which triggers an piezzo beeper #define BEEPER 33 // Beeper on AUX-4 //buttons are directly attached using AUX-2 #ifdef REPRAPWORLD_KEYPAD #define BTN_EN1 64 // encoder #define BTN_EN2 59 // encoder #define BTN_ENC 63 // enter button #define SHIFT_OUT 40 // shift register #define SHIFT_CLK 44 // shift register #define SHIFT_LD 42 // shift register #else #define BTN_EN1 37 #define BTN_EN2 35 #define BTN_ENC 31 //the click #endif #ifdef G3D_PANEL #define SDCARDDETECT 49 #else #define SDCARDDETECT -1 // Ramps does not use this port #endif #endif #if MOTHERBOARD == 77 #define BEEPER -1 #define LCD_PINS_RS 27 #define LCD_PINS_ENABLE 29 #define LCD_PINS_D4 37 #define LCD_PINS_D5 35 #define LCD_PINS_D6 33 #define LCD_PINS_D7 31 //buttons #define BTN_EN1 16 #define BTN_EN2 17 #define BTN_ENC 23 //the click #endif #else //old style panel with shift register //arduino pin witch triggers an piezzo beeper #define BEEPER 33 //No Beeper added //buttons are attached to a shift register // Not wired this yet //#define SHIFT_CLK 38 //#define SHIFT_LD 42 //#define SHIFT_OUT 40 //#define SHIFT_EN 17 #define LCD_PINS_RS 16 #define LCD_PINS_ENABLE 17 #define LCD_PINS_D4 23 #define LCD_PINS_D5 25 #define LCD_PINS_D6 27 #define LCD_PINS_D7 29 #endif #endif //ULTRA_LCD #else // RAMPS_V_1_1 or RAMPS_V_1_2 as default (MOTHERBOARD == 3) #define X_STEP_PIN 26 #define X_DIR_PIN 28 #define X_ENABLE_PIN 24 #define X_MIN_PIN 3 #define X_MAX_PIN -1 //2 #define Y_STEP_PIN 38 #define Y_DIR_PIN 40 #define Y_ENABLE_PIN 36 #define Y_MIN_PIN 16 #define Y_MAX_PIN -1 //17 #define Z_STEP_PIN 44 #define Z_DIR_PIN 46 #define Z_ENABLE_PIN 42 #define Z_MIN_PIN 18 #define Z_MAX_PIN -1 //19 #define E0_STEP_PIN 32 #define E0_DIR_PIN 34 #define E0_ENABLE_PIN 30 #define SDPOWER 48 #define SDSS 53 #define LED_PIN 13 #define PS_ON_PIN -1 #define KILL_PIN -1 #ifdef RAMPS_V_1_0 // RAMPS_V_1_0 #define HEATER_0_PIN 12 // RAMPS 1.0 #define HEATER_BED_PIN -1 // RAMPS 1.0 #define FAN_PIN 11 // RAMPS 1.0 #else // RAMPS_V_1_1 or RAMPS_V_1_2 #define HEATER_0_PIN 10 // RAMPS 1.1 #define HEATER_BED_PIN 8 // RAMPS 1.1 #define FAN_PIN 9 // RAMPS 1.1 #endif #define HEATER_1_PIN -1 #define HEATER_2_PIN -1 #define TEMP_0_PIN 2 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_1_PIN -1 #define TEMP_2_PIN -1 #define TEMP_BED_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #endif // MOTHERBOARD == 33 || MOTHERBOARD == 34 || MOTHERBOARD == 35 || MOTHERBOARD == 77 forse ho sbagliato perchè ho commentato sotto if 77 Motherboard?? mah
Re: cambiare posizioni connettori December 21, 2014 05:02PM |
Registered: 10 years ago Posts: 6,409 |
Re: cambiare posizioni connettori December 21, 2014 05:08PM |
Registered: 10 years ago Posts: 252 |
Re: cambiare posizioni connettori December 21, 2014 05:14PM |
Registered: 10 years ago Posts: 6,409 |
Re: cambiare posizioni connettori December 21, 2014 05:20PM |
Registered: 10 years ago Posts: 252 |
#define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 1 #define TEMP_SENSOR_2 1 #define TEMP_SENSOR_BED 1a proposito... devo solo mettere lo 0 nell' ultima linea????
#define TEMP_SENSOR_0 1 #define TEMP_SENSOR_1 1 #define TEMP_SENSOR_2 1 #define TEMP_SENSOR_BED 1
Re: cambiare posizioni connettori (risolto) December 22, 2014 08:57AM |
Registered: 10 years ago Posts: 252 |