fra589 / grbl-Mega-5X

5/6 Axis version of Grbl, the open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/fra589/grbl-Mega-5X/wiki
Other
344 stars 161 forks source link

Limit pins invert not working #157

Closed Piec10 closed 3 years ago

Piec10 commented 3 years ago

I'm trying to use NC limit switches. With Limit pins invert parameter set to 1, limit switches are always triggered. When it is set to 0, endstops work inverted, as expected. All hardware is fine, the same setup worked with Marlin firmware without any problems.

Piec10 commented 3 years ago

I found the problem. I only use one switch for each axis, and didn't connect the other pins to ground. Everything works perfectly now.