From e0d9840439079a4d9f31f2376f106391e897069e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Mon, 25 Jun 2012 19:32:42 -0300 Subject: refactor eeprom routines to make it possible to modify the value of a single parameter --- Sprinter/Configuration.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Sprinter/Configuration.h') diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 37d94ce..0859c1b 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -199,6 +199,11 @@ const long min_time_before_dir_change = 30; //milliseconds #define DEFAULT_MINIMUMFEEDRATE 0.0 // minimum feedrate #define DEFAULT_MINTRAVELFEEDRATE 0.0 +#define _MIN_SEG_TIME 20000 +#define DEFAULT_KP 2560 +#define DEFAULT_KI 64 +#define DEFAULT_KD 4096 + // If defined the movements slow down when the look ahead buffer is only half full #define SLOWDOWN -- cgit v1.2.1 From 890038c93eb381f644194552ea08374ad89a07af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Corr=C3=AAa=20da=20Silva=20Sanches?= Date: Tue, 26 Jun 2012 08:32:28 -0300 Subject: use PID_PGAIN, PID_IGAIN, PID_DGAIN for PID default values --- Sprinter/Configuration.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'Sprinter/Configuration.h') diff --git a/Sprinter/Configuration.h b/Sprinter/Configuration.h index 0859c1b..f5a5730 100644 --- a/Sprinter/Configuration.h +++ b/Sprinter/Configuration.h @@ -200,9 +200,6 @@ const long min_time_before_dir_change = 30; //milliseconds #define DEFAULT_MINTRAVELFEEDRATE 0.0 #define _MIN_SEG_TIME 20000 -#define DEFAULT_KP 2560 -#define DEFAULT_KI 64 -#define DEFAULT_KD 4096 // If defined the movements slow down when the look ahead buffer is only half full #define SLOWDOWN -- cgit v1.2.1