From 47024c765018d4d6a59f13435ac27d9d7854f597 Mon Sep 17 00:00:00 2001 From: Jan Roters Date: Tue, 4 May 2021 14:53:01 +0200 Subject: [PATCH 1/3] Added inverted PWM signal (see #22) --- grbl/config.h | 13 +++++++++---- grbl/spindle_control.c | 40 ++++++++++++++++++++++++++++++++++------ 2 files changed, 43 insertions(+), 10 deletions(-) diff --git a/grbl/config.h b/grbl/config.h index f48d958..0fe4725 100644 --- a/grbl/config.h +++ b/grbl/config.h @@ -102,12 +102,12 @@ // on separate pin, but homed in one cycle. Also, it should be noted that the function of hard limits // will not be affected by pin sharing. // NOTE: Defaults are set for a traditional 3-axis CNC machine. Z-axis first to clear, followed by X & Y. -#define HOMING_CYCLE_0 (1< Date: Fri, 7 May 2021 11:41:26 +0200 Subject: [PATCH 2/3] Accidentally changed some defaults in config.h --- grbl/config.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/grbl/config.h b/grbl/config.h index 0fe4725..1863613 100644 --- a/grbl/config.h +++ b/grbl/config.h @@ -102,12 +102,12 @@ // on separate pin, but homed in one cycle. Also, it should be noted that the function of hard limits // will not be affected by pin sharing. // NOTE: Defaults are set for a traditional 3-axis CNC machine. Z-axis first to clear, followed by X & Y. -//#define HOMING_CYCLE_0 (1< Date: Fri, 7 May 2021 11:47:49 +0200 Subject: [PATCH 3/3] Removed TODO since there is no need to change anything --- grbl/spindle_control.c | 1 - 1 file changed, 1 deletion(-) diff --git a/grbl/spindle_control.c b/grbl/spindle_control.c index 17e65f0..6b07dac 100644 --- a/grbl/spindle_control.c +++ b/grbl/spindle_control.c @@ -64,7 +64,6 @@ void spindle_init() uint8_t spindle_get_state() { - // TODO add INVERT_SPINDLE_PWM handling #ifdef VARIABLE_SPINDLE #ifdef USE_SPINDLE_DIR_AS_ENABLE_PIN // No spindle direction output pin.