From aab2feb8f59378af593161bd0874eedf4ae498dc Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Thu, 12 May 2022 15:56:13 +1000 Subject: [PATCH] pwm.cpp: remove the test example (#19587) --- src/systemcmds/pwm/pwm.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/systemcmds/pwm/pwm.cpp b/src/systemcmds/pwm/pwm.cpp index bf6f802f2e..fcd3b37f9b 100644 --- a/src/systemcmds/pwm/pwm.cpp +++ b/src/systemcmds/pwm/pwm.cpp @@ -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");