From 5811b49b02a4c18163504654df46a0399a420df6 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 17 Aug 2012 15:56:16 +0200 Subject: [PATCH] Config templates: comment out FAST_PWM by default. Also, start to limit comments in the config templates to 80 chars, to ease reading them in the Arduino IDE. --- config.default.h | 12 +++++++++--- config.gen3.h | 12 +++++++++--- config.gen6.h | 12 +++++++++--- config.gen7-v1.1-v1.3.h | 10 ++++++++-- config.gen7-v1.4.h | 10 ++++++++-- config.ramps-v1.2.h | 12 +++++++++--- config.ramps-v1.3.h | 12 +++++++++--- config.sanguinololu-v1.1.h | 12 +++++++++--- config.sanguinololu-v1.2.h | 12 +++++++++--- 9 files changed, 79 insertions(+), 25 deletions(-) diff --git a/config.default.h b/config.default.h index 125b9ed..ea632c2 100644 --- a/config.default.h +++ b/config.default.h @@ -447,11 +447,17 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM /// this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L diff --git a/config.gen3.h b/config.gen3.h index fcf44ba..7a142a4 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -449,11 +449,17 @@ DEFINE_TEMP_SENSOR(bed, TT_INTERCOM, 1, 0) #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM /// this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L diff --git a/config.gen6.h b/config.gen6.h index e6b82b0..b0f14ef 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -434,11 +434,17 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM // this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L diff --git a/config.gen7-v1.1-v1.3.h b/config.gen7-v1.1-v1.3.h index 11ce1af..04e1b7e 100644 --- a/config.gen7-v1.1-v1.3.h +++ b/config.gen7-v1.1-v1.3.h @@ -446,9 +446,15 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ // #define FAST_PWM diff --git a/config.gen7-v1.4.h b/config.gen7-v1.4.h index 539da23..4b55d68 100644 --- a/config.gen7-v1.4.h +++ b/config.gen7-v1.4.h @@ -446,9 +446,15 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ // #define FAST_PWM diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index abacf1c..d9b8f9b 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -443,11 +443,17 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM /// this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 595e847..8398acd 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -446,11 +446,17 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM /// this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L diff --git a/config.sanguinololu-v1.1.h b/config.sanguinololu-v1.1.h index 183dbe3..08bc5e2 100644 --- a/config.sanguinololu-v1.1.h +++ b/config.sanguinololu-v1.1.h @@ -442,11 +442,17 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM /// this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L diff --git a/config.sanguinololu-v1.2.h b/config.sanguinololu-v1.2.h index 45f2f4b..13f02b4 100644 --- a/config.sanguinololu-v1.2.h +++ b/config.sanguinololu-v1.2.h @@ -442,11 +442,17 @@ PWM value for 'off' #define TH_COUNT 8 /** \def FAST_PWM - Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a 20(16) MHz electronics. The faster one is the default, as it's what most other firmwares do. It can make the heater MOSFETs pretty hot, though. + Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a + 20(16) MHz electronics. The slower one is the default, as it's the safer + choice. Drawback is, in a quiet environment you might notice the heaters + and your power supply humming. - Comment this option out if your MOSFETs overheat. Drawback is, in a quiet environment you might notice the heaters and your power supply humming, then. + Uncomment this option if you want to get rid of this humming or want + faster PWM for other reasons. + + See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM */ -#define FAST_PWM +// #define FAST_PWM /// this is the scaling of internally stored PID values. 1024L is a good value #define PID_SCALE 1024L