Browse Source

pwm.cpp: extend documentation for Oneshot

sbg
Beat Küng 8 years ago
parent
commit
872049dc57
  1. 2
      src/systemcmds/pwm/pwm.cpp

2
src/systemcmds/pwm/pwm.cpp

@ -98,6 +98,8 @@ Channels are assigned to a group. Due to hardware limitations, the update rate c @@ -98,6 +98,8 @@ Channels are assigned to a group. Due to hardware limitations, the update rate c
The parameters `-p` and `-r` can be set to a parameter instead of specifying an integer: use -p p:PWM_MIN for example.
Note that in OneShot mode, the PWM range [1000, 2000] is automatically mapped to [125, 250].
### Examples
Set the PWM rate for all channels to 400 Hz:
$ pwm rate -a -r 400

Loading…
Cancel
Save