mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-23 14:44:20 -06:00
fan: Minor updates to tachometer handling
Add new fields to Command_Templates.md. Remove unused self.rpm variable. Use an explicit get_frequency() method in keeping with Klipper's convention of not "peeking into member variables". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
16d85d1a78
commit
4d3d25b1f7
3 changed files with 7 additions and 5 deletions
|
@ -129,6 +129,10 @@ The following are common printer attributes:
|
|||
This is also available on "heater_fan", "fan_generic", and
|
||||
"controller_fan" config sections (eg,
|
||||
`printer["fan_generic my_fan"].speed`).
|
||||
- `printer.fan.rpm`: The measured fan speed in rotations per minute if
|
||||
the fan has a tachometer_pin defined. This is also available on
|
||||
"heater_fan", "fan_generic", and "controller_fan" config sections
|
||||
(eg, `printer["fan_generic my_fan"].rpm`).
|
||||
- `printer.gcode_move.gcode_position`: The current position of the
|
||||
toolhead relative to the current G-Code origin. That is, positions
|
||||
that one might directly send to a `G1` command. It is possible to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue