Browse Source

pwm.cpp: remove the test example (#19587)

main
Hamish Willee 3 years ago committed by GitHub
parent
commit
aab2feb8f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/systemcmds/pwm/pwm.cpp

6
src/systemcmds/pwm/pwm.cpp

@ -100,12 +100,12 @@ The parameters `-p` and `-r` can be set to a parameter instead of specifying an @@ -100,12 +100,12 @@ The parameters `-p` and `-r` can be set to a parameter instead of specifying an
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
Test the outputs of eg. channels 1 and 3, and set the PWM value to 1200 us:
$ pwm arm
$ pwm test -c 13 -p 1200
Arm and set the outputs of channels 1 and 3 to a PWM value to 1200 us:
$ pwm min -c 13 -p 1200
)DESCR_STR");

Loading…
Cancel
Save