Skip to content

Commit

Permalink
- Enable FAN_SOFT_PWM
Browse files Browse the repository at this point in the history
- Enable PIDTEMPBED
  • Loading branch information
Frank Roth committed Feb 8, 2024
1 parent d7f8da0 commit f450cbf
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Marlin/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -767,7 +767,7 @@
*
* With this option disabled, bang-bang will be used. BED_LIMIT_SWITCHING enables hysteresis.
*/
//#define PIDTEMPBED
#define PIDTEMPBED

#if ENABLED(PIDTEMPBED)
//#define MIN_BED_POWER 0
Expand Down Expand Up @@ -1918,7 +1918,7 @@
* these options to restore the prior leveling state or to always enable
* leveling immediately after G28.
*/
#define RESTORE_LEVELING_AFTER_G28
//#define RESTORE_LEVELING_AFTER_G28
//#define ENABLE_LEVELING_AFTER_G28

/**
Expand Down Expand Up @@ -3263,20 +3263,20 @@
// 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
// 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,
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled.
// However, control resolution will be halved for each increment;
// at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7]
#define SOFT_PWM_SCALE 0
#define SOFT_PWM_SCALE 2

// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can
// be used to mitigate the associated resolution loss. If enabled,
// some of the PWM cycles are stretched so on average the desired
// duty cycle is attained.
//#define SOFT_PWM_DITHER
#define SOFT_PWM_DITHER

// @section extras

Expand Down

0 comments on commit f450cbf

Please sign in to comment.