summaryrefslogtreecommitdiff
path: root/Tonokip_Firmware
diff options
context:
space:
mode:
Diffstat (limited to 'Tonokip_Firmware')
-rw-r--r--Tonokip_Firmware/configuration.h27
1 files changed, 17 insertions, 10 deletions
diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h
index 268e05c..5a5551f 100644
--- a/Tonokip_Firmware/configuration.h
+++ b/Tonokip_Firmware/configuration.h
@@ -1,9 +1,10 @@
+
#ifndef PARAMETERS_H
#define PARAMETERS_H
// NO RS485/EXTRUDER CONTROLLER SUPPORT
// PLEASE VERIFY PIN ASSIGNMENTS FOR YOUR CONFIGURATION!!!!!!!
-#define MOTHERBOARD 4 // ATMEGA168 0, SANGUINO 1, MOTHERBOARD = 2, MEGA 3, ATMEGA328 4
+#define MOTHERBOARD 3 // ATMEGA168 0, SANGUINO 1, MOTHERBOARD = 2, MEGA 3, ATMEGA328 4
// THERMOCOUPLE SUPPORT UNTESTED... USE WITH CAUTION!!!!
const bool USE_THERMISTOR = true; //Set to false if using thermocouple
@@ -14,12 +15,18 @@ const bool USE_THERMISTOR = true; //Set to false if using thermocouple
// units are in millimeters or whatever length unit you prefer: inches,football-fields,parsecs etc
//Calibration variables
-float x_steps_per_unit = 10.047;
-float y_steps_per_unit = 10.047;
-float z_steps_per_unit = 833.398;
-float e_steps_per_unit = 0.706;
+float x_steps_per_unit = 80.376;
+float y_steps_per_unit = 80.376;
+float z_steps_per_unit = 6667.184;
+float e_steps_per_unit = 16;
float max_feedrate = 3000;
+//float x_steps_per_unit = 10.047;
+//float y_steps_per_unit = 10.047;
+//float z_steps_per_unit = 833.398;
+//float e_steps_per_unit = 0.706;
+//float max_feedrate = 3000;
+
//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;
@@ -34,8 +41,8 @@ const bool DISABLE_E = false;
const bool INVERT_X_DIR = false;
const bool INVERT_Y_DIR = false;
-const bool INVERT_Z_DIR = false;
-const bool INVERT_E_DIR = false;
+const bool INVERT_Z_DIR = true;
+const bool INVERT_E_DIR = true;
//Endstop Settings
const bool ENDSTOPS_INVERTING = true;
@@ -43,8 +50,8 @@ const bool min_software_endstops = false; //If true, axis won't move to coordina
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 = 120;
+const int Z_MAX_LENGTH = 70;
-#define BAUDRATE 19200
+#define BAUDRATE 115200
-#endif
+#endif \ No newline at end of file