aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/example-extras.cfg19
1 files changed, 19 insertions, 0 deletions
diff --git a/config/example-extras.cfg b/config/example-extras.cfg
index 7b943218..0e712f7e 100644
--- a/config/example-extras.cfg
+++ b/config/example-extras.cfg
@@ -53,6 +53,25 @@
# See the "mcu" section in example.cfg for configuration parameters.
+# Servos (one may define any number of sections with a "servo"
+# prefix). The servos may be controlled using the SET_SERVO g-code
+# command. For example: SET_SERVO SERVO=my_servo ANGLE=180
+#[servo my_servo]
+#pin: ar7
+# PWM output pin controlling the servo. This parameter must be
+# provided.
+#maximum_servo_angle: 180
+# The maximum angle (in degrees) that this servo can be set to. The
+# default is 180 degrees.
+#minimum_pulse_width: 0.001
+# The minimum pulse width time (in seconds). This should correspond
+# with an angle of 0 degrees. The default is 0.001 seconds.
+#maximum_pulse_width: 0.002
+# The maximum pulse width time (in seconds). This should correspond
+# with an angle of maximum_servo_angle. The default is 0.002
+# seconds.
+
+
# Statically configured digital output pins (one may define any number
# of sections with a "static_digital_output" prefix). Pins configured
# here will be setup as a GPIO output during MCU configuration.