Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homing not tested #3

Closed
xpix opened this issue Apr 8, 2017 · 5 comments
Closed

Homing not tested #3

xpix opened this issue Apr 8, 2017 · 5 comments
Labels

Comments

@xpix
Copy link

xpix commented Apr 8, 2017

Hi,

This means the input pins for switches are disabled or just not tested?

Br Frank

@tbfleming
Copy link
Collaborator

Not tested.

@xpix
Copy link
Author

xpix commented Apr 8, 2017

Ok, here my change, works for me :)

--- a/grbl/config.h
+++ b/grbl/config.h
@@ -660,9 +660,9 @@

 // 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).
-#define LIMIT_DDR         LPC_GPIO0->FIODIR
-#define LIMIT_PIN         LPC_GPIO0->FIOPIN
-#define LIMIT_PORT        LPC_GPIO0->FIOPIN
+#define LIMIT_DDR         LPC_GPIO1->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 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<<X_LIMIT_BIT)|(1<<Y_LIMIT_BIT)|(1<<Z_LIMIT_BIT)) // All limit bits

@tbfleming tbfleming added the bug label Apr 8, 2017
@tbfleming
Copy link
Collaborator

Whoops. Good catch; port was wrong.

@00alkskodi00
Copy link

Hi how can i compile the firmware, here is a manual but is not working for me https://github.com/gnea/grbl-LPC/wiki thank you

@cprezzi
Copy link
Collaborator

cprezzi commented Jul 20, 2018

@00alkskodi00 Please open a new issue instead of capturing an old closed issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants