aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Command_Templates.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2021-03-01 14:57:40 -0500
committerKevin O'Connor <kevin@koconnor.net>2021-03-01 14:57:40 -0500
commit4d3d25b1f799e98e5c8a86b0a24e8507ecfb918e (patch)
tree4d7445b896d1eb5741b726bcb4131f9b7fa94717 /docs/Command_Templates.md
parent16d85d1a78bbd29d0177c98754b9a8ccb9f10b42 (diff)
downloadkutter-4d3d25b1f799e98e5c8a86b0a24e8507ecfb918e.tar.gz
kutter-4d3d25b1f799e98e5c8a86b0a24e8507ecfb918e.tar.xz
kutter-4d3d25b1f799e98e5c8a86b0a24e8507ecfb918e.zip
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>
Diffstat (limited to 'docs/Command_Templates.md')
-rw-r--r--docs/Command_Templates.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/Command_Templates.md b/docs/Command_Templates.md
index afa390af..9e19422d 100644
--- a/docs/Command_Templates.md
+++ b/docs/Command_Templates.md
@@ -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