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

Grbl functions without serial. #213

Closed Carlosan99 closed 2 years ago

Carlosan99 commented 3 years ago

Hello, I need coordinated movement with acceleration to make straight lines (G0 commands). Is there any way to include only this function in an existing sketch? Something like: motors.move(x,y,z,a,b)

Thanks!

RaphaelDives commented 3 years ago

Hey, I won’t say that’s impossible, but that’s not what’s GRBL for. Plus GRBL has nothing to do with Arduino IDE (it’s just one convenient way to upload it to an Arduino). For such „hardcoded“ case, I would search for some Arduino libraries like AccelStepper. But I may be wrong. 😉

Anyway I would just use a second (tiny) Arduino as a serial sender… 😉 Cheers Raphael