#include <AccelStepper.h>AccelStepper (DRIVER, steppin, dirpin) ;
AccelStepper (1, 5, 6) ;
When using AccelStepper library, the value for DRIVER = 1
Always use DRIVER, not 1, as the first argument to AccelStepper, its a symbolic constant
But now I need to run a GCODE that continiously drive my electromotor at a constant speed. Any idea on how to do that? What can be the code?
I plan to write my own simple Arduino software and have the G Code interpreted by my PC. That is, a lot of the work that's done within GRBL will happen on my PC.
I don't think GRBL can interpret every Gcode instruction that a big commercial machine could.