stepper: Add support for providing a list of pins to enable

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2019-06-12 23:06:41 -04:00 committed by KevinOConnor
parent 7702f0a027
commit a2e550d1cd
2 changed files with 25 additions and 12 deletions

View file

@ -30,7 +30,8 @@ dir_pin: ar55
# parameter must be provided.
enable_pin: !ar38
# Enable pin (default is enable high; use ! to indicate enable
# low). If this parameter is not provided then the stepper motor
# low). Alternatively, this may be a comma separated list of pins to
# enable. If this parameter is not provided then the stepper motor
# driver must always be enabled.
step_distance: .0225
# Distance in mm that each step causes the axis to travel. This