From 063b1f6748796076e6fa936b085c19135a5454f5 Mon Sep 17 00:00:00 2001 From: cprezzi Date: Wed, 10 May 2017 17:16:17 +0200 Subject: [PATCH] Config for K40 --- grbl/config.h | 53 ++++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/grbl/config.h b/grbl/config.h index 02121e2..fb15978 100644 --- a/grbl/config.h +++ b/grbl/config.h @@ -103,12 +103,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<FIODIR #define LIMIT_PIN LPC_GPIO1->FIOPIN #define LIMIT_PORT LPC_GPIO1->FIOPIN -#define X_LIMIT_BIT 25 // X-MIN=24, X-MAX=25 +#define X_LIMIT_BIT 24 // X-MIN=24, X-MAX=25 #define Y_LIMIT_BIT 27 // Y-MIN=26, Y-MAX=27 #define Z_LIMIT_BIT 29 // Z-MIN=28, Z-MAX=29 -#define LIMIT_MASK ((1<