I saw this project from instructables.com and it seems like the code doesn't work as expected so I optimized it.
- Change step type from MICROSTEP to INTERLEAVE for better toque.
char STEP = INTERLEAVE- Change data type to long because Int couldn't handle it.
x1 = (long)(x1*StepsPerMillimeterX);
y1 = (long)(y1*StepsPerMillimeterY);- Reset pen settings to this
float StepInc = 1;
int StepDelay = 1;
int LineDelay = 0;
int penDelay = 40;We welcome all contributions by sending PR to this repository.
If you need help with anything just ask me via Email or create an issue