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

Add Support for Grbl Boards #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

RylanOC
Copy link

@RylanOC RylanOC commented Sep 17, 2021

The XY Table I'm using is Grbl based - rather than replacing the board with a Marlin based one, I updated the move and sweep functions to support Grbl queries and responses. I do not have a Marlin based board to test on to ensure that the library still works with the default Marlin based board, however the following code snippet should perform a sweep on a Grbl based board:

from chipshover import ChipShover, FirmwareType
shv = ChipShover('/dev/tty.usbserial-14330', firmware=FirmwareType.Grbl)

for x,y in shv.sweep_x_y(10, 20, 10, 20, step=0.05, z_plunge=1.5):
    print("At %f, %f"%(x,y))

Other functionality (ie. fan control, stopping/killing a job, homing, etc.) are still unsupported on Grbl based boards.

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

Successfully merging this pull request may close these issues.

None yet

2 participants