diff options
author | Joe Kerman <jkerman@gmail.com> | 2011-10-04 18:42:29 -0500 |
---|---|---|
committer | Joe Kerman <jkerman@gmail.com> | 2011-10-04 18:42:29 -0500 |
commit | 57847ba2ebb15e28e6913068c13da474d87c6a8d (patch) | |
tree | a48fd24c4ae6f1c4c16742ab9baf9be0a3477ef9 /Sprinter | |
parent | 9288e83cd265d511548fb512238d0d26562fde1d (diff) |
(correct) pin defs for a190usb1286/teensylu
Diffstat (limited to 'Sprinter')
-rw-r--r-- | Sprinter/Configuration.h | 2 | ||||
-rw-r--r-- | Sprinter/pins.h | 54 |
2 files changed, 30 insertions, 26 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index f36183e..d7d95cb 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -45,7 +45,7 @@ const bool ENDSTOPS_INVERTING = false; //set to true to invert the logic of the #define BAUDRATE 115200 // Comment out (using // at the start of the line) to disable SD support: -#define SDSUPPORT +//#define SDSUPPORT //// ADVANCED SETTINGS - to tweak parameters diff --git a/Sprinter/pins.h b/Sprinter/pins.h index 6df5288..d9111ce 100644 --- a/Sprinter/pins.h +++ b/Sprinter/pins.h @@ -624,51 +624,55 @@ /**************************************************************************************** * Teensylu 0.7 pin assingments (ATMEGA90USB) * Requires the Teensyduino software with Teensy2.0++ selected in arduino IDE! -* SDSUPPORT must be disabled ****************************************************************************************/ #if MOTHERBOARD == 8 #define MOTHERBOARD 8 #define KNOWN_BOARD 1 -#define X_STEP_PIN 28 -#define X_DIR_PIN 29 -#define X_ENABLE_PIN 19 -#define X_MIN_PIN 25 +#define X_STEP_PIN 0 +#define X_DIR_PIN 1 +#define X_ENABLE_PIN 39 +#define X_MIN_PIN 13 #define X_MAX_PIN -1 -#define Y_STEP_PIN 30 -#define Y_DIR_PIN 31 -#define Y_ENABLE_PIN 18 -#define Y_MIN_PIN 26 +#define Y_STEP_PIN 2 +#define Y_DIR_PIN 3 +#define Y_ENABLE_PIN 38 +#define Y_MIN_PIN 14 #define Y_MAX_PIN -1 -#define Z_STEP_PIN 32 -#define Z_DIR_PIN 33 -#define Z_ENABLE_PIN 17 -#define Z_MIN_PIN 27 +#define Z_STEP_PIN 4 +#define Z_DIR_PIN 5 +#define Z_ENABLE_PIN 23 +#define Z_MIN_PIN 15 #define Z_MAX_PIN -1 -#define E_STEP_PIN 34 -#define E_DIR_PIN 35 -#define E_ENABLE_PIN 13 +#define E_STEP_PIN 6 +#define E_DIR_PIN 7 +#define E_ENABLE_PIN 19 -#define HEATER_0_PIN 15 // Extruder -#define HEATER_1_PIN 14 // Bed -#define FAN_PIN 16 // Fan +#define HEATER_0_PIN 21 // Extruder +#define HEATER_1_PIN 20 // Bed +#define FAN_PIN 22 // Fan -#define TEMP_0_PIN 7 // Extruder -#define TEMP_1_PIN 6 // Bed +#define TEMP_0_PIN 7 // Extruder +#define TEMP_1_PIN 6 // Bed -// #define SDPOWER 48 -// #define SDSS 53 +#define SDPOWER -1 +#define SDSS 8 #define LED_PIN -1 #define PS_ON_PIN -1 -#define KILL_PIN -1 //28 +#define KILL_PIN -1 -//TODO: SDsupport +#ifndef SDSUPPORT +// these pins are defined in the SD library if building with SD support + #define SCK_PIN 9 + #define MISO_PIN 11 + #define MOSI_PIN 10 +#endif #endif |