Fixed fan related stuff
This commit is contained in:
@@ -3216,7 +3216,7 @@
|
|||||||
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
|
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
|
||||||
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
|
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency
|
||||||
// is too low, you should also increment SOFT_PWM_SCALE.
|
// is too low, you should also increment SOFT_PWM_SCALE.
|
||||||
//#define FAN_SOFT_PWM
|
#define FAN_SOFT_PWM
|
||||||
|
|
||||||
// Incrementing this by 1 will double the software PWM frequency,
|
// Incrementing this by 1 will double the software PWM frequency,
|
||||||
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
|
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
|
||||||
|
|||||||
@@ -561,8 +561,8 @@
|
|||||||
* gets it spinning reliably for a short time before setting the requested speed.
|
* gets it spinning reliably for a short time before setting the requested speed.
|
||||||
* (Does not work on Sanguinololu with FAN_SOFT_PWM.)
|
* (Does not work on Sanguinololu with FAN_SOFT_PWM.)
|
||||||
*/
|
*/
|
||||||
//#define FAN_KICKSTART_TIME 100 // (ms)
|
#define FAN_KICKSTART_TIME 100 // (ms)
|
||||||
//#define FAN_KICKSTART_POWER 180 // 64-255
|
#define FAN_KICKSTART_POWER 255 // 64-255
|
||||||
|
|
||||||
// Some coolers may require a non-zero "off" state.
|
// Some coolers may require a non-zero "off" state.
|
||||||
//#define FAN_OFF_PWM 1
|
//#define FAN_OFF_PWM 1
|
||||||
@@ -607,7 +607,7 @@
|
|||||||
* PWM on pin OC2A. Only use this option if you don't need PWM on 0C2A. (Check your schematic.)
|
* PWM on pin OC2A. Only use this option if you don't need PWM on 0C2A. (Check your schematic.)
|
||||||
* USE_OCR2A_AS_TOP sacrifices duty cycle control resolution to achieve this broader range of frequencies.
|
* USE_OCR2A_AS_TOP sacrifices duty cycle control resolution to achieve this broader range of frequencies.
|
||||||
*/
|
*/
|
||||||
//#define FAST_PWM_FAN // Increase the fan PWM frequency. Removes the PWM noise but increases heating in the FET/Arduino
|
#define FAST_PWM_FAN // Increase the fan PWM frequency. Removes the PWM noise but increases heating in the FET/Arduino
|
||||||
#if ENABLED(FAST_PWM_FAN)
|
#if ENABLED(FAST_PWM_FAN)
|
||||||
//#define FAST_PWM_FAN_FREQUENCY 31400 // Define here to override the defaults below
|
//#define FAST_PWM_FAN_FREQUENCY 31400 // Define here to override the defaults below
|
||||||
//#define USE_OCR2A_AS_TOP
|
//#define USE_OCR2A_AS_TOP
|
||||||
|
|||||||
Reference in New Issue
Block a user