From 872049dc570107dbac93139c8f0061bb59fec4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beat=20K=C3=BCng?= Date: Thu, 4 May 2017 16:25:39 +0200 Subject: [PATCH] pwm.cpp: extend documentation for Oneshot --- src/systemcmds/pwm/pwm.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/systemcmds/pwm/pwm.cpp b/src/systemcmds/pwm/pwm.cpp index 381162e5fb..98705a603c 100644 --- a/src/systemcmds/pwm/pwm.cpp +++ b/src/systemcmds/pwm/pwm.cpp @@ -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