The reason is the parameter for the pausingtime takes only a 16bit integer-value
inside file MD_Parola.h
inline void displayText(const char *pText, textPosition_t align, uint16_t speed, uint16_t pause, textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT)
{ displayZoneText(0, pText, align, speed, pause, effectIn, effectOut); }
inline void displayText(const char *pText, textPosition_t align, uint16_t speed, uint16_t pause , textEffect_t effectIn, textEffect_t effectOut = PA_NO_EFFECT)
{ displayZoneText(0, pText, align, speed, pause, effectIn, effectOut); }
and this means any bigger number is reduced to its lower 16 bits.
2^16 - 1 = 65535 dn't know why this number is reduced to 30 seconds
I microcontroller can't read your mind.
other users can't read your mind.
Your description
is still not precise enough to really understand what you really want
especcially
these two lines
Repeat until end of the world
do you want to repeat the animation (until end of the world)?
or
do you want to NOT repeat the animation?
Do you mean
When value is different than the value given from last check API
- show out animation
- show in animation with new value.
- keep text on the display without any kind of animation until
actual value given from the API-check is different than the value given from last API-check ?
My question is:
If this is a display used in a room that can only be seen by the employers or by you
why does it have to have a fancy animation?
I would use an accoustical signal that you can hear in case the number of variable onHoldOrders has changed and then just display the new number without any animation.
If you want to keep the animation you should describe each and every step of what shall be seen on your display
0:00
seen on the display Show in animation
with onHoldOrders value with additional texts
0:01 black display or onHoldOrders standing still and beeing visible?
0:02 black display or onHoldOrders standing still and beeing visible ?
0:03 black display or onHoldOrders standing still and beeing visible ?
0:04 black display or onHoldOrders standing still and beeing visible ?
0:05 new API-Check onHoldOrders stays the same
0:05 black display or onHoldOrders standing still and beeing visible ?
0:06 black display or onHoldOrders standing still and beeing visible ?
0:07 black display or onHoldOrders standing still and beeing visible ?
0:08 black display or onHoldOrders standing still and beeing visible ?
0:09 black display or onHoldOrders standing still and beeing visible ?
0:10 new API-Check onHoldOrders changes
0:10 show out animation
0:10 show in animation with new value
0:11 black display or onHoldOrders standing still and beeing visible ?
0:12 black display or onHoldOrders standing still and beeing visible ?
0:13 black display or onHoldOrders standing still and beeing visible ?
0:14 black display or onHoldOrders standing still and beeing visible ?
0:15 new API-Check onHoldOrders stays the same
Now what exactly do you want?
Without such a precise description of what will be seen on your display
it is not possible to describe what to change in the code