mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-30 17:49:56 +02:00
WIP PWM
Updated yaml changed _zero_speed_with_disable default to be same as POAG (Plain Ole Arduino Grbl)
This commit is contained in:
@@ -68,9 +68,6 @@ axes:
|
||||
null_motor:
|
||||
|
||||
comms:
|
||||
wifi_sta:
|
||||
ssid: Barts-WLAN
|
||||
|
||||
wifi_ap:
|
||||
ip_address: "192.168.0.1"
|
||||
ssid: GRBL_ESP32
|
||||
@@ -78,19 +75,12 @@ 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:
|
||||
pwm_freq: 5000
|
||||
invert_pwm: false
|
||||
output_pin: gpio.2
|
||||
enable_pin: NO_PIN
|
||||
output_pin: gpio.2:low
|
||||
zero_speed_with_disable: true
|
||||
enable_pin: gpio.21
|
||||
spinup_ms: 1000
|
||||
spindown_ms: 1000
|
||||
speeds: 0=0% 0=20% 4000=20% 8000=30% 16000=100%
|
||||
tool: 30
|
||||
speeds: 0=0% 1000=100%
|
||||
tool: 0
|
||||
|
@@ -69,7 +69,7 @@ namespace Spindles {
|
||||
// _disable_with_zero_speed forces a disable when speed is 0
|
||||
bool _disable_with_zero_speed = false;
|
||||
// _zero_speed_with_disable forces speed to 0 when disabled
|
||||
bool _zero_speed_with_disable = false;
|
||||
bool _zero_speed_with_disable = true;
|
||||
|
||||
virtual void set_output(uint32_t speed);
|
||||
virtual void deinit();
|
||||
|
Reference in New Issue
Block a user