mcu: Add support for changing cycle_time in set_pwm()

Signed-off-by: Guy Shapira <gayuha@gmail.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2020-09-26 20:52:42 -04:00
parent 27cefb2b38
commit 55e20f2c19
6 changed files with 26 additions and 15 deletions

View file

@ -242,7 +242,10 @@ is enabled:
The following command is available when an "output_pin" config section
is enabled:
- `SET_PIN PIN=config_name VALUE=<value>`
- `SET_PIN PIN=config_name VALUE=<value> CYCLE_TIME=<cycle_time>`
Note: Hardware PWM does not currently support the CYCLE_TIME parameter and will
use the cycle time defined in the config.
## Manually Controlled Fans Commands