diff options
author | Adrian Keet <arkeet@gmail.com> | 2021-02-06 15:11:29 -0800 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-03-01 14:53:13 -0500 |
commit | 16d85d1a78bbd29d0177c98754b9a8ccb9f10b42 (patch) | |
tree | 68f4fd163dccf3233ada50f2806717d26b99cd5f /COPYING | |
parent | f8b0ea53dcf2a04ca847aa6cbf4683eed98a3321 (diff) | |
download | kutter-16d85d1a78bbd29d0177c98754b9a8ccb9f10b42.tar.gz kutter-16d85d1a78bbd29d0177c98754b9a8ccb9f10b42.tar.xz kutter-16d85d1a78bbd29d0177c98754b9a8ccb9f10b42.zip |
fan: Add tachometer support
This adds new config options for fans: 'tachometer_pin' to specify the
GPIO pin, and 'tachometer_ppr' (default 2) to specify the number of
signal pulses per revolution. The rpm is also exposed by get_status for
command templates and the API server. For fast fans (at least 10000
RPM), the polling interval can be shortened using the
'tachometer_poll_interval' option.
There is a new mcu object for a generic edge counter, which repeatedly
polls a GPIO pin and periodically reports the count to the host.
Signed-off-by: Adrian Keet <arkeet@gmail.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions