output_pin: Move pwm and digital output pins to new module in extras/

Rename the digital_output, pwm_output, and static_pwm_output config
sections to output_pin and move to a new module in the extras/
directory.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2018-03-17 13:29:03 -04:00
parent 66eefa1da8
commit ef8c464d97
4 changed files with 59 additions and 87 deletions

View File

@@ -74,26 +74,29 @@ max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[static_pwm_output stepper_xy_current]
[output_pin stepper_xy_current]
pin: PL3
pwm: True
scale: 2.0
value: 1.3
cycle_time: .002
hardware_pwm: True
static_value: 1.3
[static_pwm_output stepper_z_current]
[output_pin stepper_z_current]
pin: PL4
pwm: True
scale: 2.0
value: 1.3
cycle_time: .002
hardware_pwm: True
static_value: 1.3
[static_pwm_output stepper_e_current]
[output_pin stepper_e_current]
pin: PL5
pwm: True
scale: 2.0
value: 1.25
cycle_time: .002
hardware_pwm: True
static_value: 1.25
[static_digital_output stepper_config]
pins: