From 3d2194c3341e9e8b4b1068bfb3cd01fcef7b3f25 Mon Sep 17 00:00:00 2001 From: tonokip Date: Sun, 2 May 2010 12:39:31 -0700 Subject: minor fix newlines for configuration.h --- Tonokip_Firmware/configuration.h | 88 ++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 44 deletions(-) diff --git a/Tonokip_Firmware/configuration.h b/Tonokip_Firmware/configuration.h index fec610b..50e1c76 100644 --- a/Tonokip_Firmware/configuration.h +++ b/Tonokip_Firmware/configuration.h @@ -1,45 +1,45 @@ -#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 - -// THERMOCOUPLE SUPPORT UNTESTED... USE WITH CAUTION!!!! -const bool USE_THERMISTOR = true; //Set to false if using thermocouple - -// Calibration formulas -// e_extruded_steps_per_mm = e_feedstock_steps_per_mm * (desired_extrusion_diameter^2 / feedstock_diameter^2) -// new_axis_steps_per_mm = previous_axis_steps_per_mm * (test_distance_instructed/test_distance_traveled) -// 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 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; -const bool Z_ENABLE_ON = 0; -const bool E_ENABLE_ON = 0; - -//Disables axis when it's not being used. -const bool DISABLE_X = false; -const bool DISABLE_Y = false; -const bool DISABLE_Z = true; -const bool DISABLE_E = false; - -//Endstop Settings -const bool ENDSTOPS_INVERTING = true; -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 = 120; - -#define BAUDRATE 19200 - +#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 + +// THERMOCOUPLE SUPPORT UNTESTED... USE WITH CAUTION!!!! +const bool USE_THERMISTOR = true; //Set to false if using thermocouple + +// Calibration formulas +// e_extruded_steps_per_mm = e_feedstock_steps_per_mm * (desired_extrusion_diameter^2 / feedstock_diameter^2) +// new_axis_steps_per_mm = previous_axis_steps_per_mm * (test_distance_instructed/test_distance_traveled) +// 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 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; +const bool Z_ENABLE_ON = 0; +const bool E_ENABLE_ON = 0; + +//Disables axis when it's not being used. +const bool DISABLE_X = false; +const bool DISABLE_Y = false; +const bool DISABLE_Z = true; +const bool DISABLE_E = false; + +//Endstop Settings +const bool ENDSTOPS_INVERTING = true; +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 = 120; + +#define BAUDRATE 19200 + #endif -- cgit v1.2.1