About Pin Number Question? May 14, 2014 08:56AM |
Registered: 9 years ago Posts: 3 |
Re: About Pin Number Question? May 14, 2014 02:44PM |
Registered: 13 years ago Posts: 1,352 |
Re: About Pin Number Question? May 16, 2014 12:13AM |
Registered: 9 years ago Posts: 3 |
Re: About Pin Number Question? May 16, 2014 08:13AM |
Registered: 13 years ago Posts: 1,352 |
#if MOTHERBOARD == 99 #ifndef __AVR_ATmega1280__ #ifndef __AVR_ATmega2560__ #error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu. #endif #endif #define KNOWN_BOARD 1 //#define LARGE_FLASH true #define Z_DIR_PIN 22 #define Z_ENABLE_PIN 24 #define Z_STEP_PIN 26 #define Z_MIN_PIN -1 //all min/max endstops disabled with -1 to avoid faults on them #define Z_MAX_PIN -1 #define X_DIR_PIN 23 #define X_STEP_PIN 25 #define X_ENABLE_PIN 27 #define X_MIN_PIN -1 #define X_MAX_PIN -1 #define Y_DIR_PIN 28 #define Y_STEP_PIN 30 #define Y_ENABLE_PIN 32 #define Y_MIN_PIN -1 #define Y_MAX_PIN -1 #define E0_DIR_PIN 29 #define E0_STEP_PIN 31 #define E0_ENABLE_PIN 33 //#define E1_DIR_PIN 34 //not used //#define E1_STEP_PIN 36 //#define E1_ENABLE_PIN 38 #define LED_PIN -1 //13 #define PS_ON_PIN -1 #define KILL_PIN -1 #define HEATER_0_PIN 7 //extruder #define HEATER_1_PIN -1 //extruder fan #define HEATER_2_PIN -1 #define HEATER_BED_PIN 4 #define FAN_PIN 5 #define TEMP_0_PIN 1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_1_PIN 2 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_2_PIN -1 // MUST USE ANALOG INPUT NUMBERING NOT DIGITAL OUTPUT NUMBERING!!!!!!!!! #define TEMP_BED_PIN 3 #define SDPOWER -1 #define SDSS 53 #define MISO_PIN 50 #define MOSI_PIN 51 #define SCK_PIN 52 #define BEEPER -1 #endif /* 99 */