summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware/configuration.h
diff options
context:
space:
mode:
authorkliment <kliment.yanev@gmail.com>2011-03-13 12:34:34 +0100
committerkliment <kliment.yanev@gmail.com>2011-03-13 12:34:34 +0100
commitf538a2d590f4902372d50ac2e5c49dfe0da4039b (patch)
tree9da37d6e177f62eb517a5eba451d53ff7480369f /Tonokip_Firmware/configuration.h
parent933c0b69b17491ec991251c51fbd58267cf83154 (diff)
Added SD support, heatbed support and internal endstop pullup support. Improved communications, removed echo, added buffering.
Diffstat (limited to 'Tonokip_Firmware/configuration.h')
-rw-r--r--Tonokip_Firmware/configuration.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h
index c6f9754..b7981e4 100644
--- a/Tonokip_Firmware/configuration.h
+++ b/Tonokip_Firmware/configuration.h
@@ -4,6 +4,7 @@
// NO RS485/EXTRUDER CONTROLLER SUPPORT
// PLEASE VERIFY PIN ASSIGNMENTS FOR YOUR CONFIGURATION!!!!!!!
#define MOTHERBOARD 3 // ATMEGA168 0, SANGUINO 1, MOTHERBOARD = 2, MEGA 3, ATMEGA328 4
+#define SDSUPPORT 1
// THERMOCOUPLE SUPPORT UNTESTED... USE WITH CAUTION!!!!
const bool USE_THERMISTOR = true; //Set to false if using thermocouple
@@ -16,7 +17,7 @@ const bool USE_THERMISTOR = true; //Set to false if using thermocouple
//Calibration variables
float x_steps_per_unit = 80.376;
float y_steps_per_unit = 80.376;
-float z_steps_per_unit = 6667.184;
+float z_steps_per_unit = 3200/1.25;
float e_steps_per_unit = 16;
float max_feedrate = 18000;
@@ -44,12 +45,13 @@ const bool INVERT_Z_DIR = true;
const bool INVERT_E_DIR = false;
//Endstop Settings
+#define ENDSTOPPULLUPS 1
const bool ENDSTOPS_INVERTING = false;
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.
-const int X_MAX_LENGTH = 200;
-const int Y_MAX_LENGTH = 200;
-const int Z_MAX_LENGTH = 70;
+const int X_MAX_LENGTH = 220;
+const int Y_MAX_LENGTH = 220;
+const int Z_MAX_LENGTH = 100;
#define BAUDRATE 115200