Where to configure target tick rate?
Delays in TouchGFX Designer such as for animation assume 60Hz tickrate. Example:
//Fade homeIcon to alpha:0 with LinearIn easing in 1000 ms (60 Ticks)
homeIcon.clearFadeAnimationEndedAction();
homeIcon.startFadeAnimation(0, 60, touchgfx::EasingEquations::linearEaseIn);
For the simulator this is fine. But for the target this isn't always correct. I use LTDC as a tick source and this gets me about 40Hz.
So animations run too slow on my target. I had to resort to calling custom C++ code instead of having TouchGFX generate it. But doing this every time is annoying. Is there a way to configure this?
#ifdef SIMULATOR
constexpr uint16_t ticks = 60 * 1.000;
#else
constexpr uint16_t ticks = 40* 1.000;
#endif
//Fade homeIcon to alpha:0 with LinearIn easing in 1000 ms
homeIcon.clearFadeAnimationEndedAction();
homeIcon.startFadeAnimation(0, ticks , touchgfx::EasingEquations::linearEaseIn);
