Mega ShockedLe 15/05/2018 à 03:41
There might be better ways but I would use a counter
#define TIME 100
BYTE textTimer=0;
while (1)
{
if (++textTimer == TIME)
{
textTimer=0;
// write text or erase text
}
}
When the scene is simple you will need more TIME and as things get busier you will need less TIME.