How to set easing function
marianoviola opened this issue · 1 comments
marianoviola commented
Hi,
can I use the easing library by Tobias Toft?
I'm trying to use this code in the setup function:
servoEaser.setEasingFunc(Easing::easeInOutCubic);
I'm on the right way?
Thank you
-Mariano
FedericoBusero commented
It is not necessary to set the easeInOutCubic function, as this is the standard function which is being set when calling ServoEaser.begin(..).
If you want to use another function, have a look at the example ServoEaser3Callbacks.ino