-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Hi,
I have the raspberry PI hat, and a couple of stepper motors. I am able to use this library ok, but am running into issues with the speed of which I can drive the motors using the oneStep function.
I was under the impression the purpose of the hat was to offload the repetitive processing of the stepper motors onto a separate discrete board to avoid interruptions you would get on the main program/PI, but the fact that I have to call oneStep from python on the raspberry PI seems to go against this purpose and (I believe) leads to my code/PI being the limiting factor in the speed the stepper motors can run, as every single step has to be called at separately, and at exactly the correct time.
In other stepper libraries you seem to offer multistep functions here . I'm assuming this command goes direct to the hat and avoids any other program interruptions for the duration of the command (although could be wrong). Is there anywhere to replicate this functionality within this library/ for the PI hat?
I am aware I could get a motor with different gearing to change the speed, but when then likely end up sacrificing on turn resolution. And this code approach seems like a fundamental issue.