aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/controller_fan.py
Commit message (Collapse)AuthorAgeFilesLines
* heaters: Make heater.py an "extras" moduleKevin O'Connor2020-04-251-2/+3
| | | | | | | The heater logic is an independent module that does not need to be treated as part of the "core" klipper code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper: Move MCU_stepper from mcu.py to stepper.pyKevin O'Connor2019-11-121-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stepper_enable: Move enable tracking from stepper.py to stepper_enable.pyKevin O'Connor2019-11-121-4/+6
| | | | | | | Move the enable line tracking out of the main stepper.py code. This simplifies the main kinematic code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* controller_fan: Replace else followed by single if with elifMaster922019-09-171-4/+3
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Use keyword arguments to improve readabilityMaster922019-09-171-3/+5
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Use snake-case for all variables and function-namesMaster922019-09-171-2/+2
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Use _ to declare discarded return valueMaster922019-09-171-1/+1
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Declare instance-attribute in __init__Master922019-09-171-0/+1
| | | | Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
* controller_fan: Allow multiple controller_fan sections to be definedKevin O'Connor2019-03-101-1/+1
| | | | | | | It may be necessary to define multiple fans, so allow each config section to be named. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* controller_fan: Add support for a fan cooling the controller-board (#1070)Master922019-01-101-0/+53
Whenever a stepper driver or a heater becomes active, it is desirable to turn on a fan cooling the associated parts on the controller board. This module implements such a fan that turns on whenever a stepper or specified heater turns on, decelerates to a configurable speed when all of the watched parts turn off, and returns to an off-speed, when a user-defined timeout is met. Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>