luni64 / TeensyStep

Fast Stepper Motor Library for Teensy boards
https://luni64.github.io/TeensyStep/
MIT License
272 stars 56 forks source link

no member named 'overrideSpeed' #130

Closed EeeLo closed 2 years ago

EeeLo commented 2 years ago

'overrideSpeed' is using now? I saw in the example but not work in my code.

EeeLo commented 2 years ago

I'm using stm32 board

luni64 commented 2 years ago

overrideSpeed is only implemented for the rotation controllers if this is your question?

EeeLo commented 2 years ago

Can you give me some sample code with this?

EeeLo commented 2 years ago

I using StepControl controller() function to control two step motors

EeeLo commented 2 years ago

OK, I see, the overrideSpeed only working for rotational mode (RotateControl)

luni64 commented 2 years ago

Here an example how to use it: https://github.com/luni64/TeensyStep/discussions/124