Hello all
Very niche question about using some hardware in an unorthodox way
So I retired my I3 B a while back and have had the hardware lying around for ages which I am now using for a new project (Geetech GT2560 revision A board most importantly)
The hardware and software is perfect for this project, and while modifying the firmware I have gotten everything I need working well which would save me a bunch of time over having to reprogram it from scratch (Gcode file reading, temp control, fan control ect). Im virtually done with the program except for one issue that I cant figure out how marlin controls steppers, I only need very basic stepper movement and I cant make head or tail of the marlin stepper control code to use it for my own purposes. I decided to add the AccelStepper library to simplify things. It all works fine except for one issue, that I cant get the steppers to run properly, they are moving very slowly, like perhaps 1-3 rpm. I tried uploading just the stepper code without the marlin firmware, and same issue, so I thought it was a hardware issue. However when I added 2 0’s to the speed variable, the steppers started running normally, including accelerating and decelerating properly.
I thought I had fixed the issue, however this fix did not work in the marlin firmware and thats pretty much where I am at now.
Any ideas what may be causing this? Or alternately, a guide on how marlin controls steppers would also be useful, if such a thing exists.
For further info, the project I am making is controlled with Gcode files, however I am making my own codes for this specific project. There is nothing in marlin that can do what I need. Specifically, the project does the same few actions repeatedly, based on some variables collected in the g code file (which is less than 10 lines in total)
Any help would be greatly appreciated