1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-01-16 21:58:13 +01:00

rc_servo: output_pin not pwm_pin, and added pwm_hz

This commit is contained in:
Mitch Bradley 2023-08-24 07:12:37 -10:00
parent 4de130cdf9
commit fc5891294e

View File

@ -173,9 +173,10 @@ void print_rc_servo(RcServo* m, int axis, int gang, const char* name = "rc_servo
print_servo(m, axis, gang, name);
item("cal_min", m->rc_servo_cal_min->get());
item("cal_max", m->rc_servo_cal_max->get());
pin_item("pwm_pin", m->_pwm_pin, false);
pin_item("output_pin", m->_pwm_pin, false);
item("min_pulse_us", SERVO_MIN_PULSE);
item("max_pulse_us", SERVO_MAX_PULSE);
item("pwm_hz", SERVO_PULSE_FREQ);
end_section();
}