2 Commits

Author SHA1 Message Date
5a862a5e30 Fix #3: wrong port for limit switches 2017-04-08 14:57:31 -04:00
612b781e3e Update README.md 2017-03-19 09:33:40 -06:00
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,5 @@
![GitHub Logo](/doc/media/Grbl Logo 250px.png) ![GitHub Logo](https://github.com/gnea/gnea-Media/blob/master/Grbl%20Logo/Grbl%20Logo%20250px.png?raw=true)
*** ***
_Click the `Release` tab to download pre-compiled `.bin` files or just [click here](https://github.com/gnea/grbl-LPC/releases)_ _Click the `Release` tab to download pre-compiled `.bin` files or just [click here](https://github.com/gnea/grbl-LPC/releases)_
*** ***
@ -19,7 +20,6 @@ Usage notes:
* Laser mode: ON ($32) * Laser mode: ON ($32)
* Minimum S value: 0.0 ($31) * Minimum S value: 0.0 ($31)
* Maximum S value: 1.0 ($30) * Maximum S value: 1.0 ($30)
* Homing not tested
* Hard limits not yet ported * Hard limits not yet ported
* Control inputs not yet ported (e.g. Cycle Start and Safety Door switches) * Control inputs not yet ported (e.g. Cycle Start and Safety Door switches)
@ -57,7 +57,7 @@ Grbl includes full acceleration management with look ahead. That means the contr
*** ***
### Official Supporters of the Grbl CNC Project ### Official Supporters of the Grbl CNC Project
![Official Supporters](https://dl.dropboxusercontent.com/u/2221997/Contributors.png) ![Official Supporters](https://github.com/gnea/gnea-Media/blob/master/Contributors.png?raw=true)
*** ***

View File

@ -660,9 +660,9 @@
// Define homing/hard limit switch input pins and limit interrupt vectors. // Define homing/hard limit switch input pins and limit interrupt vectors.
// NOTE: All limit bit pins must be on the same port, but not on a port with other input pins (CONTROL). // NOTE: All limit bit pins must be on the same port, but not on a port with other input pins (CONTROL).
#define LIMIT_DDR LPC_GPIO0->FIODIR #define LIMIT_DDR LPC_GPIO1->FIODIR
#define LIMIT_PIN LPC_GPIO0->FIOPIN #define LIMIT_PIN LPC_GPIO1->FIOPIN
#define LIMIT_PORT LPC_GPIO0->FIOPIN #define LIMIT_PORT LPC_GPIO1->FIOPIN
#define X_LIMIT_BIT 25 // X-MIN=24, X-MAX=25 #define X_LIMIT_BIT 25 // X-MIN=24, X-MAX=25
#define Y_LIMIT_BIT 27 // Y-MIN=26, Y-MAX=27 #define Y_LIMIT_BIT 27 // Y-MIN=26, Y-MAX=27
#define Z_LIMIT_BIT 29 // Z-MIN=28, Z-MAX=29 #define Z_LIMIT_BIT 29 // Z-MIN=28, Z-MAX=29