diff options
author | Emanuele Caruso <emanuele.caruso@gmail.com> | 2011-07-24 19:36:35 +0200 |
---|---|---|
committer | Emanuele Caruso <emanuele.caruso@gmail.com> | 2011-07-24 19:36:35 +0200 |
commit | edb91dd6fa7eac120251e5e45a40c19b9c429bcb (patch) | |
tree | 0544fc562a7d398a2d97627c33dc0ef6e07e0f87 /Sprinter/Configuration.h | |
parent | f712ec88f34dc71ab230a11cad12d4e599455c8a (diff) | |
parent | 6731e67015772678813e40f55c49816e84da2394 (diff) |
Merge remote branch 'origin/experimental' into experimental
Diffstat (limited to 'Sprinter/Configuration.h')
-rw-r--r-- | Sprinter/Configuration.h | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 319c839..5d64c7b 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -15,6 +15,7 @@ // 1 is 100k thermistor // 2 is 200k thermistor // 3 is mendel-parts thermistor +// 4 is 10k thermistor #define THERMISTORHEATER 1 #define THERMISTORBED 1 @@ -28,6 +29,8 @@ float axis_steps_per_unit[] = {80, 80, 3200/1.25,700}; #define ENDSTOPPULLUPS 1 // Comment this out (using // at the start of the line) to disable the endstop pullup resistors // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins. const bool ENDSTOPS_INVERTING = false; //set to true to invert the logic of the endstops +//If your axes are only moving in one direction, make sure the endstops are connected properly. +//If your axes move in one direction ONLY when the endstops are triggered, set ENDSTOPS_INVERTING to true here // This determines the communication speed of the printer #define BAUDRATE 115200 @@ -41,10 +44,10 @@ const bool ENDSTOPS_INVERTING = false; //set to true to invert the logic of the #include "thermistortables.h" // For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1 -const bool X_ENABLE_ON = 0; -const bool Y_ENABLE_ON = 0; -const bool Z_ENABLE_ON = 0; -const bool E_ENABLE_ON = 0; +#define X_ENABLE_ON 0 +#define Y_ENABLE_ON 0 +#define Z_ENABLE_ON 0 +#define E_ENABLE_ON 0 // Disables axis when it's not being used. const bool DISABLE_X = false; @@ -60,9 +63,9 @@ const bool INVERT_E_DIR = false; //// ENDSTOP SETTINGS: // Sets direction of endstops when homing; 1=MAX, -1=MIN -const int X_HOME_DIR = -1; -const int Y_HOME_DIR = -1; -const int Z_HOME_DIR = -1; +#define X_HOME_DIR -1 +#define Y_HOME_DIR -1 +#define Z_HOME_DIR -1 const bool min_software_endstops = false; //If true, axis won't move to coordinates less than zero. const bool max_software_endstops = true; //If true, axis won't move to coordinates greater than the defined lengths below. @@ -73,6 +76,7 @@ const int Z_MAX_LENGTH = 100; //// MOVEMENT SETTINGS const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z, E float max_feedrate[] = {200000, 200000, 240, 500000}; +float homing_feedrate[] = {1500,1500,120}; bool axis_relative_modes[] = {false, false, false, false}; // Min step delay in microseconds. If you are experiencing missing steps, try to raise the delay microseconds, but be aware this |