From 2c00d1580fcfac3d3719f83f660f63e7e8523120 Mon Sep 17 00:00:00 2001 From: Greg Dahlman Date: Mon, 5 Dec 2011 20:34:02 -0800 Subject: Fixing issues in pins.h and fastio.h, I created them not understanding it was using arduino pin numbers I also put in a note that Gen 7 only works at 16 MHZ due to timing issues with WProgram.h and wiring.h --- Sprinter/pins.h | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) (limited to 'Sprinter/pins.h') diff --git a/Sprinter/pins.h b/Sprinter/pins.h index 01f29ed..63719f4 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -686,6 +686,7 @@ #endif + /**************************************************************************************** * Gen7 pin assignment * @@ -693,46 +694,46 @@ #if MOTHERBOARD == 7 #define KNOWN_BOARD 1 -#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__) && !defined(__AVR_ATmega644__) +#if !defined(__AVR_ATmega644P__) && !defined(__AVR_ATmega1284P__) #error Oops! Make sure you have 'Sanguino' selected from the 'Tools -> Boards' menu. #endif //x axis pins - #define X_STEP_PIN 15 + #define X_STEP_PIN 19 #define X_DIR_PIN 18 - #define X_ENABLE_PIN 33 - #define X_MIN_PIN 8 - #define X_MAX_PIN 7 + #define X_ENABLE_PIN -1 + #define X_MIN_PIN 7 + #define X_MAX_PIN 6 //y axis pins - #define Y_STEP_PIN 29 - #define Y_DIR_PIN 28 - #define Y_ENABLE_PIN 33 - #define Y_MIN_PIN 3 - #define Y_MAX_PIN 6 + #define Y_STEP_PIN 23 + #define Y_DIR_PIN 22 + #define Y_ENABLE_PIN -1 + #define Y_MIN_PIN 5 + #define Y_MAX_PIN 2 //z axis pins - #define Z_STEP_PIN 35 - #define Z_DIR_PIN 34 - #define Z_ENABLE_PIN 33 - #define Z_MIN_PIN 2 - #define Z_MAX_PIN 1 + #define Z_STEP_PIN 26 + #define Z_DIR_PIN 25 + #define Z_ENABLE_PIN 24 + #define Z_MIN_PIN 1 + #define Z_MAX_PIN 0 //extruder pins - #define E_STEP_PIN 37 - #define E_DIR_PIN 36 - #define E_ENABLE_PIN 33 - #define TEMP_0_PIN 39 // Extruder - #define HEATER_0_PIN 5 // Extruder - #define HEATER_1_PIN 4 // Bed + #define E_STEP_PIN 28 + #define E_DIR_PIN 27 + #define E_ENABLE_PIN -1 + #define TEMP_0_PIN 1 // Extruder + #define HEATER_0_PIN 4 // Extruder + #define HEATER_1_PIN 3 // Bed #define SDPOWER -1 #define SDSS -1 #define LED_PIN -1 - #define TEMP_1_PIN 38 //Bed + #define TEMP_1_PIN 2 //Bed #define FAN_PIN -1 - #define PS_ON_PIN 21 + #define PS_ON_PIN 15 #endif -- cgit v1.2.1