1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-08-31 18:11:48 +02:00

Fixed PWM period

This commit is contained in:
bdring
2021-06-20 20:17:13 -05:00
parent f8ad403439
commit 26298614f4
2 changed files with 14 additions and 18 deletions

View File

@@ -67,11 +67,6 @@ axes:
gang1:
null_motor:
coolant:
flood: gpio.25
mist: gpio.21
comms:
wifi_sta:
ssid: Barts-WLAN
@@ -83,17 +78,19 @@ comms:
probe:
pin: gpio.32:low:pu
Relay:
output_pin: gpio.21
spinup_ms: 1000
spindown_ms: 1000
tool: 0
speeds: 0=0.000% 0=0.000% 1000=100.000%
PWM:
min_rpm: 200
max_rpm: 1000
pwm_freq: 5000
pwm_off: 0.000
pwm_min: 20.000
pwm_max: 100.000
invert_pwm: true
invert_pwm: false
output_pin: gpio.2
enable_pin: gpio.22
direction_pin: gpio.21
enable_off_with_zero_speed: true
spinup_delay_ms: 2000
spindown_delay_ms: 1000
enable_pin: NO_PIN
spinup_ms: 1000
spindown_ms: 1000
speeds: 0=0% 0=20% 4000=20% 8000=30% 16000=100%
tool: 30

View File

@@ -67,8 +67,7 @@ namespace Spindles {
_speeds.push_back({ 0, 0 });
_speeds.push_back({ 10000, 100 });
}
setupSpeeds(_pwm_precision);
setupSpeeds(_pwm_period);
config_message();
}