From 52994012edfd8bb5e1d6db7801540f1cd1eced91 Mon Sep 17 00:00:00 2001 From: Stefan Hechenberger Date: Tue, 10 Jun 2014 11:21:07 +0200 Subject: [PATCH] note to use doubles in config.h --- firmware/src/config.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/firmware/src/config.h b/firmware/src/config.h index 05fb1420..a2529a48 100644 --- a/firmware/src/config.h +++ b/firmware/src/config.h @@ -36,13 +36,13 @@ #ifndef V1401 - #define CONFIG_X_STEPS_PER_MM 32.80839895 //microsteps/mm - #define CONFIG_Y_STEPS_PER_MM 32.80839895 //microsteps/mm - #define CONFIG_Z_STEPS_PER_MM 32.80839895 //microsteps/mm + #define CONFIG_X_STEPS_PER_MM 32.80839895 //microsteps/mm (no integers, e.g. use 80.0 instead of 80) + #define CONFIG_Y_STEPS_PER_MM 32.80839895 //microsteps/mm (no integers, e.g. use 80.0 instead of 80) + #define CONFIG_Z_STEPS_PER_MM 32.80839895 //microsteps/mm (no integers, e.g. use 80.0 instead of 80) #else - #define CONFIG_X_STEPS_PER_MM 88.88888888 //microsteps/mm - #define CONFIG_Y_STEPS_PER_MM 90.90909090 //microsteps/mm - #define CONFIG_Z_STEPS_PER_MM 33.33333333 //microsteps/mm + #define CONFIG_X_STEPS_PER_MM 88.88888888 //microsteps/mm (no integers, e.g. use 80.0 instead of 80) + #define CONFIG_Y_STEPS_PER_MM 90.90909090 //microsteps/mm (no integers, e.g. use 80.0 instead of 80) + #define CONFIG_Z_STEPS_PER_MM 33.33333333 //microsteps/mm (no integers, e.g. use 80.0 instead of 80) #endif #define CONFIG_PULSE_MICROSECONDS 5 #define CONFIG_FEEDRATE 8000.0 // in millimeters per minute