Closed Danixu closed 3 years ago
Hello,
I've tried the AcceleratedRotator.ino example becase I want to use it on a project I'm doing, and I've noticed that is not working.
The variable lastMovementDirection is not updated, so the acceleration will never trigger.
Best regards.
Same here, it's enough to add the following statement by the end of the loop
lastMovementDirection = currentDirection
Hello,
I've tried the AcceleratedRotator.ino example becase I want to use it on a project I'm doing, and I've noticed that is not working.
The variable lastMovementDirection is not updated, so the acceleration will never trigger.
Best regards.