From fb20eeb1eaec9d09d6d03fa83a79755f537f5c36 Mon Sep 17 00:00:00 2001 From: Claudio Prezzi Date: Wed, 26 Dec 2018 13:51:33 +0100 Subject: [PATCH] Added config option to have PWM on P1.23 for MKS SBase --- grbl/config.h | 12 ++++++----- grbl/cpu_map.h | 16 ++++++++++----- grbl/defaults.h | 53 +++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 10 deletions(-) diff --git a/grbl/config.h b/grbl/config.h index 9208a29..a40df2a 100644 --- a/grbl/config.h +++ b/grbl/config.h @@ -38,13 +38,15 @@ //#define CPU_MAP_MKS_SBASE // MKS SBASE Board (NXP LPC1768 MCU) //#define CPU_MAP_AZTEEG_X5 // Azteeg X5 Board (NXP LPC1769 MCU) -// Force Spincle PWM Pin 2.4 (default is P2.5) +// Force other Spindle PWM Pin (default is P2.5) +//#define SPINDLE_PWM_PIN_1_23 //#define SPINDLE_PWM_PIN_2_4 // Define machine type for machine specific defaults //#define DEFAULTS_GENERIC #define DEFAULTS_K40 //#define DEFAULTS_FABKIT +//#define DEFAULTS_JONAS // Serial baud rate // #define BAUD_RATE 230400 @@ -111,16 +113,16 @@ // 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<