GameWithPixels / DiceFirmware

Pixels dice firmware code.
MIT License
15 stars 1 forks source link

Incorrect animation start and end time #7

Open obasille opened 2 years ago

obasille commented 2 years ago

First call to updateLEDs() happens at startTime + 33ms For an animation of a multiple of 33ms, the last call to updateLEDs() will happen at startTime + duration, making the animation last for duration + 33ms.

So the overall animation duration is correct but timings are shifted by 33ms