From f538a2d590f4902372d50ac2e5c49dfe0da4039b Mon Sep 17 00:00:00 2001 From: kliment Date: Sun, 13 Mar 2011 12:34:34 +0100 Subject: Added SD support, heatbed support and internal endstop pullup support. Improved communications, removed echo, added buffering. --- Tonokip_Firmware/configuration.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Tonokip_Firmware/configuration.h') 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 -- cgit v1.2.1