diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-07-16 14:17:04 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-07-25 11:39:39 -0400 |
commit | db05938a5fd04206ec297c816f5f7fbd0a86e421 (patch) | |
tree | 6b3c30f55c3c5652be427e0f97eda8108be9b97c /config/example-extras.cfg | |
parent | 428a8d48817646588e09258f258926e50dfdee58 (diff) | |
download | kutter-db05938a5fd04206ec297c816f5f7fbd0a86e421.tar.gz kutter-db05938a5fd04206ec297c816f5f7fbd0a86e421.tar.xz kutter-db05938a5fd04206ec297c816f5f7fbd0a86e421.zip |
servo: Set initial value via mcu_servo.setup_start_value()
Using the setup_start_value() method avoids the PWM output line
transitioning to an intermediate state prior to setting the initial
value.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'config/example-extras.cfg')
-rw-r--r-- | config/example-extras.cfg | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg index 6082992b..419c8f94 100644 --- a/config/example-extras.cfg +++ b/config/example-extras.cfg @@ -1245,15 +1245,13 @@ # The maximum pulse width time (in seconds). This should correspond # with an angle of maximum_servo_angle. The default is 0.002 # seconds. -#initial_angle: 70 -# Initial angle to set the servo to when the mcu resets. Must be between -# 0 and maximum_servo_angle This parameter is optional. If both -# initial_angle and initial_pulse_width are set initial_angle will be used. -#initial_pulse_width: 0.0015 -# Initial pulse width time (in seconds) to set the servo to when -# the mcu resets. Must be between minimum_pulse_width and maximum_pulse_width. -# This parameter is optional. If both initial_angle and initial_pulse_width -# are set initial_angle will be used +#initial_angle: +# Initial angle (in degrees) to set the servo to. The default is to +# not send any signal at startup. +#initial_pulse_width: +# Initial pulse width time (in seconds) to set the servo to. (This +# is only valid if initial_angle is not set.) The default is to not +# send any signal at startup. # Neopixel (aka WS2812) LED support (one may define any number of # sections with a "neopixel" prefix). One may set the LED color via |